Skip to content

Commit dfab53f

Browse files
committed
[Tests] only run eclint on intended files
1 parent 931ad2b commit dfab53f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"scripts": {
1717
"prepublishOnly": "safe-publish-latest && cp node_modules/is-core-module/core.json ./lib/ ||:",
1818
"prepublish": "npm run prepublishOnly",
19-
"prelint": "eclint check '**/*'",
19+
"prelint": "eclint check $(git ls-files | grep -vE 'node_modules|\\.git')",
2020
"lint": "eslint --ext=js,mjs .",
2121
"pretests-only": "cd ./test/resolver/nested_symlinks && node mylib/sync && node mylib/async",
2222
"tests-only": "tape test/*.js",

0 commit comments

Comments
 (0)