Skip to content

Commit 6020836

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 78f2b20 commit 6020836

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"scripts": {
2020
"precommit": "lint-staged --concurrent false",
2121
"test": "jest",
22-
"lint": "eslint rules __tests__ index.js",
22+
"lint": "eslint --report-unused-disable-directives .",
2323
"format": "prettier --write '**/*.js'"
2424
},
2525
"dependencies": {},

0 commit comments

Comments
 (0)