mirror of
https://gitee.com/fit2cloud-feizhiyun/1Panel.git
synced 2024-12-05 05:19:08 +08:00
9 lines
400 B
JavaScript
9 lines
400 B
JavaScript
|
module.exports = {
|
||
|
'*.{js,jsx,ts,tsx}': ['eslint --fix', 'prettier --write'],
|
||
|
'{!(package)*.json,*.code-snippets,.!(browserslist)*rc}': ['prettier --write--parser json'],
|
||
|
'package.json': ['prettier --write'],
|
||
|
'*.vue': ['eslint --fix', 'prettier --write', 'stylelint --fix'],
|
||
|
'*.{scss,less,styl,html}': ['stylelint --fix', 'prettier --write'],
|
||
|
'*.md': ['prettier --write'],
|
||
|
};
|