From 0fa1ea974c4a16347074e830327799c8832add36 Mon Sep 17 00:00:00 2001 From: RaviAnand Mohabir Date: Wed, 26 May 2021 11:46:15 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Ignore=20`app/`=20in=20ESLint=20?= =?UTF-8?q?config=20and=20update=20plugins=20for=20unified=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.cjs | 2 +- app/.eslintrc.cjs | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 06fdc32..5fc0ca5 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -3,7 +3,7 @@ module.exports = { parser: "@typescript-eslint/parser", extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"], plugins: ["@typescript-eslint"], - ignorePatterns: ["*.cjs"], + ignorePatterns: ["*.cjs", "app/**/*"], parserOptions: { sourceType: "module", ecmaVersion: 2019, diff --git a/app/.eslintrc.cjs b/app/.eslintrc.cjs index 3446fe5..be59143 100644 --- a/app/.eslintrc.cjs +++ b/app/.eslintrc.cjs @@ -1,12 +1,7 @@ module.exports = { root: true, parser: "@typescript-eslint/parser", - extends: [ - "eslint:recommended", - "plugin:@typescript-eslint/recommended", - "prettier", - "../.eslintrc.cjs", - ], + extends: ["../.eslintrc.cjs"], plugins: ["svelte3", "@typescript-eslint"], ignorePatterns: ["*.cjs"], overrides: [{ files: ["*.svelte"], processor: "svelte3/svelte3" }],