|
@@ -5,10 +5,14 @@ export default {
|
|
],
|
|
],
|
|
'*.{scss,less,styl,html,vue,css}': [
|
|
'*.{scss,less,styl,html,vue,css}': [
|
|
'prettier --cache --ignore-unknown --write',
|
|
'prettier --cache --ignore-unknown --write',
|
|
- 'stylelint --fix',
|
|
|
|
|
|
+ 'stylelint --fix --allow-empty-input',
|
|
],
|
|
],
|
|
'*.md': ['prettier --cache --ignore-unknown --write'],
|
|
'*.md': ['prettier --cache --ignore-unknown --write'],
|
|
- '*.vue': ['prettier --write', 'eslint --cache --fix', 'stylelint --fix'],
|
|
|
|
|
|
+ '*.vue': [
|
|
|
|
+ 'prettier --write',
|
|
|
|
+ 'eslint --cache --fix',
|
|
|
|
+ 'stylelint --fix --allow-empty-input',
|
|
|
|
+ ],
|
|
'{!(package)*.json,*.code-snippets,.!(browserslist)*rc}': [
|
|
'{!(package)*.json,*.code-snippets,.!(browserslist)*rc}': [
|
|
'prettier --cache --write--parser json',
|
|
'prettier --cache --write--parser json',
|
|
],
|
|
],
|