eslint-staged: ignore /graphql
This commit is contained in:
parent
3e7d350248
commit
5e2fd20520
@ -16,7 +16,6 @@
|
||||
"test": "dotenv -e .env.local turbo run test",
|
||||
"prepare": "husky install",
|
||||
"precommit": "yarn format && yarn lint:fix && yarn test",
|
||||
"check-types": "tsc --noEmit --pretty && tsc --project cypress --noEmit --pretty",
|
||||
"graphql:update": "dotenv -e .env.local node ./scripts/graphql-update.js",
|
||||
"graphql:codegen": "dotenv -e .env.local node ./scripts/graphql-codegen.js"
|
||||
},
|
||||
@ -37,8 +36,7 @@
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{js,jsx,ts,tsx}": [
|
||||
"eslint --ext js,jsx,ts,tsx --quiet --fix --",
|
||||
"prettier --write"
|
||||
"eslint --ignore-pattern **/graphql/* --ext js,jsx,ts,tsx --quiet --fix --"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user