From bdb85a76246a40aee0c33bed0dd64cf0ba980b11 Mon Sep 17 00:00:00 2001 From: cahnory Date: Sun, 29 Oct 2023 22:46:04 +0100 Subject: [PATCH] chore(vite-sample-app): move vite ESLint override into its own .eslintrc --- .eslintrc | 13 ------------- apps/vite-sample/.eslintrc | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 13 deletions(-) create mode 100644 apps/vite-sample/.eslintrc 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 + } + ] + } + } + ] +}