Skip to content

Commit

Permalink
ESLint: move "reportUnusedDisableDirectives" to config
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Jul 11, 2022
1 parent cdaac58 commit 38203d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"ecmaVersion": 2019
},
"extends": "eslint:recommended",
"reportUnusedDisableDirectives": true,
"rules": {
"comma-dangle": [
"error",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"stylelint": "^14.9.1"
},
"scripts": {
"lint": "eslint --ignore-path .gitignore --report-unused-disable-directives .",
"lint": "eslint --ignore-path .gitignore .",
"test": "npm run lint",
"test-ci": "stylelint \"(bootstrap|bootstrap-4)/scss/**/*.scss\" --config index.js --ignore-pattern \"**/vendor/\" --formatter verbose"
}
Expand Down

0 comments on commit 38203d2

Please sign in to comment.