Skip to content

Commit 61d309e

Browse files
brettz9MichaelDeBoey
authored andcommitted
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 5d77f93 commit 61d309e

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
@@ -22,7 +22,7 @@
2222
"bugs": "https://github.com/eslint-community/eslint-plugin-promise/issues",
2323
"scripts": {
2424
"format": "prettier --write .",
25-
"lint": "eslint .",
25+
"lint": "eslint --report-unused-disable-directives .",
2626
"prepare": "husky install",
2727
"test": "jest --coverage"
2828
},
@@ -55,7 +55,7 @@
5555
],
5656
"*.js": [
5757
"prettier --write",
58-
"eslint --fix"
58+
"eslint --report-unused-disable-directives --fix"
5959
],
6060
"*.+(json|md)": [
6161
"prettier --write"

0 commit comments

Comments
 (0)