Use an .eslintignore file

This commit is contained in:
Nicolas Gallagher
2017-12-24 12:50:44 +00:00
parent 3026465ae3
commit f52a851972
2 changed files with 4 additions and 2 deletions
+1 -2
View File
@@ -12,8 +12,7 @@
"fmt:cmd": "prettier --print-width=100 --single-quote --write",
"jest": "jest --config ./scripts/jest/config.js",
"lint": "yarn lint:check --fix",
"lint:check": "yarn lint:cmd packages scripts website",
"lint:cmd": "eslint --ignore-path .gitignore --ignore-pattern 'packages/**/vendor/*'",
"lint:check": "eslint packages scripts website",
"precommit": "lint-staged",
"release": "yarn test && yarn build && node ./scripts/release/publish.js && yarn docs:release",
"test": "yarn flow && yarn lint:check && yarn jest"