2024-08-02 22:18:46 +08:00
|
|
|
export default {
|
2025-01-01 11:39:49 +08:00
|
|
|
'*.md': ['prettier --cache --ignore-unknown --write'],
|
|
|
|
'*.vue': [
|
|
|
|
'prettier --write',
|
|
|
|
'eslint --cache --fix',
|
|
|
|
'stylelint --fix --allow-empty-input',
|
|
|
|
],
|
2024-08-02 22:18:46 +08:00
|
|
|
'*.{js,jsx,ts,tsx}': [
|
|
|
|
'prettier --cache --ignore-unknown --write',
|
|
|
|
'eslint --cache --fix',
|
|
|
|
],
|
|
|
|
'*.{scss,less,styl,html,vue,css}': [
|
|
|
|
'prettier --cache --ignore-unknown --write',
|
|
|
|
'stylelint --fix --allow-empty-input',
|
|
|
|
],
|
2025-01-01 11:39:49 +08:00
|
|
|
'package.json': ['prettier --cache --write'],
|
2024-08-29 21:47:00 +08:00
|
|
|
'{!(package)*.json,*.code-snippets,.!(browserslist)*rc}': [
|
|
|
|
'prettier --cache --write--parser json',
|
|
|
|
],
|
2024-08-02 22:18:46 +08:00
|
|
|
};
|