Add eslint-plugin-unicorn

pull/45/head
Nikita Karamov 2022-02-10 22:06:50 +01:00
parent 9d86369877
commit db7c10048f
No known key found for this signature in database
GPG Key ID: 3C8E688C96EEB9C9
2 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,7 @@
"env": {
"browser": true
},
"extends": ["eslint:recommended", "prettier"],
"extends": ["eslint:recommended", "plugin:unicorn/recommended", "prettier"],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"

View File

@ -50,6 +50,7 @@
"cssnano": "^5.0.16",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-unicorn": "^40.1.0",
"postcss": "^8.4.6",
"postcss-banner": "^4.0.1",
"postcss-calc": "^8.2.3",