update
This commit is contained in:
parent
b71570c759
commit
3d7f96290c
@ -15,7 +15,7 @@ module.exports = {
|
|||||||
'no-console': 0,
|
'no-console': 0,
|
||||||
'no-use-before-define': 'off',
|
'no-use-before-define': 'off',
|
||||||
'no-unused-vars': [
|
'no-unused-vars': [
|
||||||
'error',
|
'warn',
|
||||||
{
|
{
|
||||||
// 允许声明未使用变量
|
// 允许声明未使用变量
|
||||||
vars: 'local',
|
vars: 'local',
|
||||||
@ -23,7 +23,7 @@ module.exports = {
|
|||||||
args: 'none',
|
args: 'none',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
'vue/no-unused-vars': 'error',
|
'vue/no-unused-vars': 'warn',
|
||||||
'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',
|
||||||
|
|||||||
@ -13,7 +13,7 @@
|
|||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"build:mock": "vite build --mode mock",
|
"build:mock": "vite build --mode mock",
|
||||||
"serve": "vite preview",
|
"serve": "vite preview",
|
||||||
"lint": "eslint --fix --ext .js,.vue src"
|
"lint": "eslint --ext .js,.vue src"
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
"> 1%",
|
"> 1%",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user