diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index 2246e30..0000000 --- a/.eslintrc.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "root": true, - "env": { - "browser": true - }, - "extends": ["eslint:recommended", "plugin:unicorn/recommended", "prettier"], - "parserOptions": { - "ecmaVersion": "latest", - "sourceType": "module" - }, - "overrides": [ - { - "files": ["vite.config.js"], - "env": { - "node": true, - "browser": false - } - } - ] -} diff --git a/package.json b/package.json index acffad7..153351c 100644 --- a/package.json +++ b/package.json @@ -66,6 +66,31 @@ "size-limit": "^8.1.0", "vite": "^4.0.4" }, + "eslintConfig": { + "env": { + "browser": true + }, + "extends": [ + "eslint:recommended", + "plugin:unicorn/recommended", + "prettier" + ], + "parserOptions": { + "ecmaVersion": "latest", + "sourceType": "module" + }, + "overrides": [ + { + "files": [ + "vite.config.js" + ], + "env": { + "node": true, + "browser": false + } + } + ] + }, "postcss": { "plugins": { "postcss-css-variables": {},