diff --git a/.eslintrc b/.eslintrc index 25b2274..81effa3 100644 --- a/.eslintrc +++ b/.eslintrc @@ -80,19 +80,6 @@ "version": "detect" } } - }, - // Development override - { - "files": ["**/vite.config.ts"], - "rules": { - "import/no-extraneous-dependencies": [ - "error", - { - "devDependencies": true, - "optionalDependencies": false - } - ] - } } ], "parserOptions": { diff --git a/apps/vite-sample/.eslintrc b/apps/vite-sample/.eslintrc new file mode 100644 index 0000000..1d646d9 --- /dev/null +++ b/apps/vite-sample/.eslintrc @@ -0,0 +1,18 @@ +{ + "$schema": "https://json.schemastore.org/eslintrc", + "extends": ["../../.eslintrc"], + "overrides": [ + { + "files": ["**/vite.config.ts"], + "rules": { + "import/no-extraneous-dependencies": [ + "error", + { + "devDependencies": true, + "optionalDependencies": false + } + ] + } + } + ] +}