2023-09-17 16:46:17 +08:00
|
|
|
{
|
|
|
|
"*.{js,jsx,ts,tsx}": [
|
|
|
|
"prettier --cache --ignore-unknown --write",
|
|
|
|
"eslint --cache --fix"
|
|
|
|
],
|
2023-11-10 13:16:05 +08:00
|
|
|
"{!(package)*.json,*.code-snippets,.!({browserslist,nvm})*rc}": [
|
2023-09-17 16:46:17 +08:00
|
|
|
"prettier --cache --write--parser json"
|
|
|
|
],
|
|
|
|
"package.json": ["prettier --cache --write"],
|
2024-03-13 20:46:37 +08:00
|
|
|
"*.vue": [
|
|
|
|
"prettier --write",
|
|
|
|
"eslint --cache --fix",
|
|
|
|
"stylelint --fix --allow-empty-input"
|
|
|
|
],
|
2023-09-17 16:46:17 +08:00
|
|
|
"*.{css,scss,html}": [
|
|
|
|
"prettier --cache --ignore-unknown --write",
|
2024-03-13 20:46:37 +08:00
|
|
|
"stylelint --fix --allow-empty-input"
|
2023-09-17 16:46:17 +08:00
|
|
|
],
|
|
|
|
"*.md": ["prettier --cache --ignore-unknown --write"]
|
|
|
|
}
|