pull/8/head
zjx0905 2020-07-27 12:58:38 +08:00
parent 1782abcb2e
commit 7353418fee
2 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,5 @@
module.exports = {
hooks: {
// 'commit-msg': 'commitlint -E HUSKY_GIT_PARAMS',
'pre-commit': 'lint-staged',
},
};

View File

@ -1,3 +1,3 @@
module.exports = {
'*.{ts,tsx}': ['prettier', 'eslint --fix', 'git add'],
'*.{ts,tsx}': ['prettier', 'eslint --fix'],
};