Skip to content

Commit

Permalink
[meta] better eclint command
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jan 11, 2022
1 parent 34b5bc3 commit b4377fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/eslint-config-airbnb-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"./package.json": "./package.json"
},
"scripts": {
"prelint": "eclint check * rules/* test/*",
"prelint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')",
"lint": "eslint --report-unused-disable-directives .",
"pretests-only": "node ./test/requires",
"tests-only": "babel-tape-runner ./test/test-*.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-airbnb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"./package.json": "./package.json"
},
"scripts": {
"prelint": "eclint check * rules/* test/*",
"prelint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')",
"lint": "eslint .",
"pretests-only": "node ./test/requires",
"tests-only": "babel-tape-runner ./test/test-*.js",
Expand Down

0 comments on commit b4377fb

Please sign in to comment.