fix: lint

This commit is contained in:
xiaoxian521 2021-11-10 22:53:29 +08:00
parent 6036a84be4
commit 74166f4096

View File

@ -1,10 +1,10 @@
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"]
// "*.{vue,css,scss,postcss,less}": ["stylelint --fix", "prettier --write"],
// "*.md": ["prettier --write"]
"*.{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"],
"*.{vue,css,scss,postcss,less}": ["stylelint --fix", "prettier --write"],
"*.md": ["prettier --write"]
};