Merge pull request 'chore: 提交git统一代码风格' (#178) from chore/husky into test

Reviewed-on: #178
pull/179/head
刘释隆 1 year ago
commit 02c81d0b41

@ -2,4 +2,5 @@
. "$(dirname -- "$0")/_/husky.sh"
# node_modules/.bin/lint-staged
date
date
npx lint-staged

@ -19,6 +19,9 @@ module.exports = antfu(
'unused-imports/no-unused-vars': 'off',
'unused-imports/no-unused-imports': 'off',
'jsdoc/require-returns-description': 'off',
'eqeqeq': 'off',
'no-console': 'off',
'vue/custom-event-name-casing': 'off',
'no-restricted-syntax': [
// eslint-disable-next-line node/prefer-global/process
process.env.MODE === 'production' ? 2 : 0,

@ -77,8 +77,8 @@
"vue-tsc": "^1.8.22"
},
"lint-staged": {
"*.{ts,tsx,vue}": [
"pnpm lint:fix"
"*.{ts,tsx,vue,js}": [
"eslint --fix"
]
}
}

Loading…
Cancel
Save