update
This commit is contained in:
parent
08238c4a7d
commit
bdc2e5cae5
@ -14,13 +14,8 @@ module.exports = {
|
|||||||
rules: {
|
rules: {
|
||||||
"no-console": 0,
|
"no-console": 0,
|
||||||
'no-use-before-define': 'off',
|
'no-use-before-define': 'off',
|
||||||
'no-unused-vars': [
|
'no-unused-vars': 'warn',
|
||||||
'warn',
|
'vue/no-unused-vars': 'warn',
|
||||||
{
|
|
||||||
argsIgnorePattern: '^_',
|
|
||||||
varsIgnorePattern: '^_',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
'no-prototype-builtins': 'off',
|
'no-prototype-builtins': 'off',
|
||||||
'space-before-function-paren': 'off',
|
'space-before-function-paren': 'off',
|
||||||
'vue/custom-event-name-casing': 'off',
|
'vue/custom-event-name-casing': 'off',
|
||||||
|
|||||||
@ -46,7 +46,7 @@
|
|||||||
},
|
},
|
||||||
"husky": {
|
"husky": {
|
||||||
"hooks": {
|
"hooks": {
|
||||||
"pre-commit": "lint-staged"
|
"pre-commit": "npm run lint-staged"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user