mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-30 01:16:24 +00:00
Use an .eslintignore file
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
coverage
|
||||||
|
dist
|
||||||
|
packages/**/vendor/*
|
||||||
+1
-2
@@ -12,8 +12,7 @@
|
|||||||
"fmt:cmd": "prettier --print-width=100 --single-quote --write",
|
"fmt:cmd": "prettier --print-width=100 --single-quote --write",
|
||||||
"jest": "jest --config ./scripts/jest/config.js",
|
"jest": "jest --config ./scripts/jest/config.js",
|
||||||
"lint": "yarn lint:check --fix",
|
"lint": "yarn lint:check --fix",
|
||||||
"lint:check": "yarn lint:cmd packages scripts website",
|
"lint:check": "eslint packages scripts website",
|
||||||
"lint:cmd": "eslint --ignore-path .gitignore --ignore-pattern 'packages/**/vendor/*'",
|
|
||||||
"precommit": "lint-staged",
|
"precommit": "lint-staged",
|
||||||
"release": "yarn test && yarn build && node ./scripts/release/publish.js && yarn docs:release",
|
"release": "yarn test && yarn build && node ./scripts/release/publish.js && yarn docs:release",
|
||||||
"test": "yarn flow && yarn lint:check && yarn jest"
|
"test": "yarn flow && yarn lint:check && yarn jest"
|
||||||
|
|||||||
Reference in New Issue
Block a user