Skip to content

Commit

Permalink
[Tests] only run eclint on intended files
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Dec 29, 2021
1 parent 931ad2b commit dfab53f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"scripts": {
"prepublishOnly": "safe-publish-latest && cp node_modules/is-core-module/core.json ./lib/ ||:",
"prepublish": "npm run prepublishOnly",
"prelint": "eclint check '**/*'",
"prelint": "eclint check $(git ls-files | grep -vE 'node_modules|\\.git')",
"lint": "eslint --ext=js,mjs .",
"pretests-only": "cd ./test/resolver/nested_symlinks && node mylib/sync && node mylib/async",
"tests-only": "tape test/*.js",
Expand Down

0 comments on commit dfab53f

Please sign in to comment.