chore: faster lint-staged (#5013)
Co-authored-by: EYHN <13579374+EYHN@users.noreply.github.com>
This commit is contained in:
@@ -45,11 +45,11 @@
|
|||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*": "prettier --write --ignore-unknown --cache",
|
"*": "prettier --write --ignore-unknown --cache",
|
||||||
"*.{ts,tsx,mjs,js,jsx}": [
|
"*.{ts,tsx,mjs,js,jsx}": [
|
||||||
"prettier . --ignore-unknown --write",
|
"prettier --ignore-unknown --write",
|
||||||
"eslint --cache --fix"
|
"eslint --cache --fix"
|
||||||
],
|
],
|
||||||
"*.toml": [
|
"*.toml": [
|
||||||
"prettier . --ignore-unknown --write",
|
"prettier --ignore-unknown --write",
|
||||||
"taplo format"
|
"taplo format"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user