mirror of
https://github.com/zhigang1992/react-native-web.git
synced 2026-01-12 17:43:00 +08:00
Use an .eslintignore file
This commit is contained in:
3
.eslintignore
Normal file
3
.eslintignore
Normal file
@@ -0,0 +1,3 @@
|
||||
coverage
|
||||
dist
|
||||
packages/**/vendor/*
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user