diff --git a/.eslintrc.json b/.eslintrc.json index 3a67d20..dd0b2f8 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -3,7 +3,7 @@ "env": { "browser": true }, - "extends": ["eslint:recommended", "prettier"], + "extends": ["eslint:recommended", "plugin:unicorn/recommended", "prettier"], "parserOptions": { "ecmaVersion": "latest", "sourceType": "module" diff --git a/package.json b/package.json index ced7a4b..fc1ace4 100644 --- a/package.json +++ b/package.json @@ -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",