|
|
@ -3,22 +3,16 @@ module.exports = {
|
|
|
|
browser: true,
|
|
|
|
browser: true,
|
|
|
|
es2021: true
|
|
|
|
es2021: true
|
|
|
|
},
|
|
|
|
},
|
|
|
|
extends: [
|
|
|
|
extends: ['plugin:vue/vue3-essential', 'standard'],
|
|
|
|
'plugin:vue/vue3-essential',
|
|
|
|
overrides: [],
|
|
|
|
'standard'
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
overrides: [
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
parserOptions: {
|
|
|
|
parserOptions: {
|
|
|
|
ecmaVersion: 'latest',
|
|
|
|
ecmaVersion: 'latest',
|
|
|
|
sourceType: 'module'
|
|
|
|
sourceType: 'module'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
plugins: [
|
|
|
|
plugins: ['vue'],
|
|
|
|
'vue'
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
rules: {
|
|
|
|
rules: {
|
|
|
|
'vue/multi-word-component-names': 0,
|
|
|
|
'vue/multi-word-component-names': 0,
|
|
|
|
'space-before-function-paren': ['error', 'never'], // 函数名与括号之间无空格
|
|
|
|
'space-before-function-paren': 0,
|
|
|
|
quotes: ['error', 'single'] // 单引号
|
|
|
|
quotes: ['error', 'single'] // 单引号
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|