🔧 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",
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"],
plugins: ["@typescript-eslint"],
ignorePatterns: ["*.cjs"],
ignorePatterns: ["*.cjs", "app/**/*"],
parserOptions: {
sourceType: "module",
ecmaVersion: 2019,

View File

@ -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" }],