mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-25 15:40:06 +03:00
chore(*): change prettier hook
This commit is contained in:
parent
b8d3f47cca
commit
b01e5d352f
|
@ -7,6 +7,7 @@ cache:
|
|||
directories:
|
||||
- "node_modules"
|
||||
script:
|
||||
- yarn build:all
|
||||
- yarn prettier:check
|
||||
- yarn lint:all
|
||||
- yarn test:all
|
||||
- yarn build:all
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
"lint:fix": "eslint \"**/*.{js,jsx,ts,tsx}\" --fix --cache",
|
||||
"lint:all": "eslint \"**/*.{js,jsx,ts,tsx}\"",
|
||||
"prettify": "prettier \"**/*.{js,jsx,ts,tsx,json,css,html,md}\" --write",
|
||||
"prettier:check": "prettier --check .",
|
||||
"test": "jest --onlyChanged",
|
||||
"test:all": "jest"
|
||||
},
|
||||
|
@ -56,12 +57,6 @@
|
|||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{js,jsx,ts,tsx}": [
|
||||
"prettier --write",
|
||||
"yarn lint:fix"
|
||||
],
|
||||
"*.{json,css,html,md}": [
|
||||
"prettier --write"
|
||||
]
|
||||
"**/*": ["eslint --fix", "prettier --write"]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user