File tree 2 files changed +2
-2
lines changed
eslint-config-airbnb-base
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 18
18
"./package.json" : " ./package.json"
19
19
},
20
20
"scripts" : {
21
- "prelint" : " eclint check * rules/* test/* " ,
21
+ "prelint" : " eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules| \\ .git') " ,
22
22
"lint" : " eslint --report-unused-disable-directives ." ,
23
23
"pretests-only" : " node ./test/requires" ,
24
24
"tests-only" : " babel-tape-runner ./test/test-*.js" ,
Original file line number Diff line number Diff line change 15
15
"./package.json" : " ./package.json"
16
16
},
17
17
"scripts" : {
18
- "prelint" : " eclint check * rules/* test/* " ,
18
+ "prelint" : " eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules| \\ .git') " ,
19
19
"lint" : " eslint ." ,
20
20
"pretests-only" : " node ./test/requires" ,
21
21
"tests-only" : " babel-tape-runner ./test/test-*.js" ,
You can’t perform that action at this time.
0 commit comments