From db7c10048ffcc7cebc5018c08d04c634add6878a Mon Sep 17 00:00:00 2001 From: Nikita Karamov Date: Thu, 10 Feb 2022 22:06:50 +0100 Subject: [PATCH] Add eslint-plugin-unicorn --- .eslintrc.json | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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",