25 lines
645 B
JavaScript
25 lines
645 B
JavaScript
module.exports = {
|
|
env: {
|
|
browser: true,
|
|
es2021: true
|
|
},
|
|
extends: ['plugin:vue/vue3-essential','prettier'],
|
|
parserOptions: {
|
|
ecmaVersion: 'latest',
|
|
sourceType: 'module'
|
|
},
|
|
globals:{
|
|
AMap:true,
|
|
AMapUI:true,
|
|
Local:true
|
|
},
|
|
plugins: ['vue', 'prettier'],
|
|
rules: {
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
'vue/multi-word-component-names': 'off',
|
|
'prettier/prettier': 'error'
|
|
},
|
|
ignorePatterns: ['**/knowledge.html']
|
|
}
|