2021-10-16 16:16:58 +08:00
|
|
|
module.exports = {
|
2021-11-10 22:53:29 +08:00
|
|
|
"*.{js,jsx,ts,tsx}": ["eslint --fix", "prettier --write"],
|
2022-01-18 17:09:07 +08:00
|
|
|
"{!(package)*.json,.!(browserslist)*rc}": ["prettier --write--parser json"],
|
2021-11-10 22:53:29 +08:00
|
|
|
"package.json": ["prettier --write"],
|
|
|
|
"*.vue": ["eslint --fix", "prettier --write", "stylelint --fix"],
|
|
|
|
"*.{vue,css,scss,postcss,less}": ["stylelint --fix", "prettier --write"],
|
|
|
|
"*.md": ["prettier --write"]
|
2022-01-18 17:09:07 +08:00
|
|
|
};
|