We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
eccheck
1 parent 7b00833 commit bc4666bCopy full SHA for bc4666b
package.json
@@ -63,7 +63,7 @@
63
"scripts": {
64
"prepublishOnly": "safe-publish-latest",
65
"prepublish": "!(type not-in-publish) || not-in-publish || npm run prepublishOnly",
66
- "prelint": "eclint check",
+ "prelint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')",
67
"lint": "eslint --ext .js,.cjs,.mjs . bin/*",
68
"pretest": "npm run lint",
69
"test": "npm run tests-only",
0 commit comments