From 74166f4096473bbae61aa568f2132fb05251edcb Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Wed, 10 Nov 2021 22:53:29 +0800 Subject: [PATCH] fix: lint --- .husky/lintstagedrc.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.husky/lintstagedrc.js b/.husky/lintstagedrc.js index b7be4a7..3fafdff 100644 --- a/.husky/lintstagedrc.js +++ b/.husky/lintstagedrc.js @@ -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"] };