Skip to content

Commit df471dc

Browse files
committed
chore: lint all files by default and add --report-unused-disable-directives flag
Linting all by default, and later adding an `.eslintignore` if necessary, allows IDEs to avoid showing errors on intentionally ignored files.
1 parent f10d8fc commit df471dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"bugs": "https://github.com/xjamundx/eslint-plugin-promise/issues",
1919
"scripts": {
2020
"format": "prettier --write .",
21-
"lint": "eslint .",
21+
"lint": "eslint --report-unused-disable-directives .",
2222
"prepare": "husky install",
2323
"test": "jest --coverage"
2424
},
@@ -50,7 +50,7 @@
5050
],
5151
"*.js": [
5252
"prettier --write",
53-
"eslint --fix"
53+
"eslint --report-unused-disable-directives --fix"
5454
],
5555
"*.+(json|md)": [
5656
"prettier --write"

0 commit comments

Comments
 (0)