move eslint_rules to scripts/eslint_rules [skip ci]
This commit is contained in:
parent
35646f15a4
commit
ef467a3887
8
Makefile
8
Makefile
@ -30,14 +30,14 @@ watch: clean
|
|||||||
make clean-lib
|
make clean-lib
|
||||||
BABEL_ENV=development ./node_modules/.bin/gulp watch
|
BABEL_ENV=development ./node_modules/.bin/gulp watch
|
||||||
|
|
||||||
lint:
|
|
||||||
./node_modules/.bin/eslint scripts $(SOURCES) *.js --format=codeframe --rulesdir="./eslint_rules"
|
|
||||||
|
|
||||||
flow:
|
flow:
|
||||||
./node_modules/.bin/flow check --strip-root
|
./node_modules/.bin/flow check --strip-root
|
||||||
|
|
||||||
|
lint:
|
||||||
|
./node_modules/.bin/eslint scripts $(SOURCES) *.js --format=codeframe --rulesdir="./scripts/eslint_rules"
|
||||||
|
|
||||||
fix:
|
fix:
|
||||||
./node_modules/.bin/eslint scripts $(SOURCES) *.js --format=codeframe --fix --rulesdir="./eslint_rules"
|
./node_modules/.bin/eslint scripts $(SOURCES) *.js --format=codeframe --fix --rulesdir="./scripts/eslint_rules"
|
||||||
|
|
||||||
clean: test-clean
|
clean: test-clean
|
||||||
rm -rf packages/babel-polyfill/browser*
|
rm -rf packages/babel-polyfill/browser*
|
||||||
|
|||||||
@ -77,7 +77,7 @@
|
|||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.js": [
|
"*.js": [
|
||||||
"eslint --format=codeframe --rulesdir='./eslint_rules'"
|
"eslint --format=codeframe --rulesdir='./scripts/eslint_rules'"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user