File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
eslint-config-airbnb-base Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1818 "./package.json" : " ./package.json"
1919 },
2020 "scripts" : {
21- "prelint" : " eclint check * rules/* test/* " ,
21+ "prelint" : " eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules| \\ .git') " ,
2222 "lint" : " eslint --report-unused-disable-directives ." ,
2323 "pretests-only" : " node ./test/requires" ,
2424 "tests-only" : " babel-tape-runner ./test/test-*.js" ,
Original file line number Diff line number Diff line change 1515 "./package.json" : " ./package.json"
1616 },
1717 "scripts" : {
18- "prelint" : " eclint check * rules/* test/* " ,
18+ "prelint" : " eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules| \\ .git') " ,
1919 "lint" : " eslint ." ,
2020 "pretests-only" : " node ./test/requires" ,
2121 "tests-only" : " babel-tape-runner ./test/test-*.js" ,
You can’t perform that action at this time.
0 commit comments