代码初始化
This commit is contained in:
30
.eslintrc.js
Normal file
30
.eslintrc.js
Normal file
@@ -0,0 +1,30 @@
|
||||
module.exports = {
|
||||
env: {
|
||||
browser: true,
|
||||
es2021: true
|
||||
},
|
||||
extends: ['plugin:vue/vue3-essential', 'standard', './.eslintrc-auto-import.json'],
|
||||
overrides: [],
|
||||
parserOptions: {
|
||||
ecmaVersion: 'latest',
|
||||
sourceType: 'module'
|
||||
},
|
||||
plugins: ['vue'],
|
||||
rules: {
|
||||
eqeqeq: 'off',
|
||||
curly: 'off',
|
||||
'no-unused-vars': 'off',
|
||||
'spaced-comment': 'off',
|
||||
'vue/no-mutating-props': 'off',
|
||||
'space-before-function-paren': 0,
|
||||
'vue/multi-word-component-names': 'off',
|
||||
'array-callback-return': 'off',
|
||||
'vue/no-v-model-argument': 'off',
|
||||
camelcase: 'off',
|
||||
'promise/param-names': 'off',
|
||||
indent: 'off'
|
||||
},
|
||||
globals: {
|
||||
AMap: true,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user