Skip to content

Commit

Permalink
Fix duplicate ignorePatterns in eslintrc config (#1486)
Browse files Browse the repository at this point in the history
  • Loading branch information
Supereg committed May 1, 2023
1 parent 4aed1a8 commit 0847721
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module.exports = {
"ui/",
'ui/**/*',
'dist/**/*',
'.eslintrc.js'
],
plugins: ['@typescript-eslint/eslint-plugin'],
extends: [
Expand All @@ -20,7 +21,6 @@ module.exports = {
node: true,
jest: true,
},
ignorePatterns: ['.eslintrc.js'],
rules: {
'quotes': ['error', 'single'],
'comma-dangle': ['error', 'only-multiline'],
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"start": "ts-node -r tsconfig-paths/register src/main.ts",
"serve": "npm run watch",
"lint": "npm run lint:server && npm run lint:ui",
"lint:server": "eslint \"{src,test}/**/*.ts\" --max-warnings=0 --ignore-pattern \"ui\"",
"lint:server": "eslint \"{src,test}/**/*.ts\" --max-warnings=0",
"lint:ui": "npm run lint --prefix ui",
"webpack": "webpack --config webpack.config.js",
"install:ui": "npm install --prefix ui",
Expand Down Expand Up @@ -150,4 +150,4 @@
"smart home",
"hb-service"
]
}
}

0 comments on commit 0847721

Please sign in to comment.