33 lines
649 B
JavaScript
33 lines
649 B
JavaScript
module.exports = {
|
|
env: {
|
|
browser: true,
|
|
es6: true,
|
|
node: true,
|
|
},
|
|
"globals": {
|
|
"google": true
|
|
},
|
|
parser: 'vue-eslint-parser',
|
|
parserOptions: {
|
|
ecmaVersion: 2020,
|
|
extraFileExtensions: ['.vue'],
|
|
ecmaFeatures: {
|
|
jsx: true,
|
|
},
|
|
sourceType: 'module',
|
|
},
|
|
|
|
extends: [
|
|
'plugin:vue/vue3-essential',
|
|
'eslint:recommended',
|
|
'plugin:prettier/recommended',
|
|
'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'],
|
|
},
|
|
}
|