🔧 Ignore app/ in ESLint config and update plugins for unified config

This commit is contained in:
RaviAnand Mohabir 2021-05-26 11:46:15 +02:00
parent 87a817ed1d
commit 0fa1ea974c
2 changed files with 2 additions and 7 deletions

View File

@ -3,7 +3,7 @@ module.exports = {
parser: "@typescript-eslint/parser", parser: "@typescript-eslint/parser",
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"], extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"],
plugins: ["@typescript-eslint"], plugins: ["@typescript-eslint"],
ignorePatterns: ["*.cjs"], ignorePatterns: ["*.cjs", "app/**/*"],
parserOptions: { parserOptions: {
sourceType: "module", sourceType: "module",
ecmaVersion: 2019, ecmaVersion: 2019,

View File

@ -1,12 +1,7 @@
module.exports = { module.exports = {
root: true, root: true,
parser: "@typescript-eslint/parser", parser: "@typescript-eslint/parser",
extends: [ extends: ["../.eslintrc.cjs"],
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"../.eslintrc.cjs",
],
plugins: ["svelte3", "@typescript-eslint"], plugins: ["svelte3", "@typescript-eslint"],
ignorePatterns: ["*.cjs"], ignorePatterns: ["*.cjs"],
overrides: [{ files: ["*.svelte"], processor: "svelte3/svelte3" }], overrides: [{ files: ["*.svelte"], processor: "svelte3/svelte3" }],