You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
799 B
30 lines
799 B
module.exports = {
|
|
root: true,
|
|
parser: 'vue-eslint-parser',
|
|
globals: {
|
|
postMessage: true
|
|
},
|
|
parserOptions: {
|
|
parser: '@typescript-eslint/parser',
|
|
sourceType: 'module',
|
|
ecmaFeatures: {
|
|
jsx: true,
|
|
tsx: true
|
|
}
|
|
},
|
|
env: {
|
|
node: true,
|
|
// The Follow config only works with eslint-plugin-vue v8.0.0+
|
|
'vue/setup-compiler-macros': true
|
|
},
|
|
extends: ['plugin:vue/vue3-essential', 'eslint:recommended'],
|
|
rules: {
|
|
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
|
'no-unused-vars': 'off',
|
|
'vue/no-unused-vars': 'off',
|
|
'vue/multi-word-component-names': 'off',
|
|
'vue/valid-template-root': 'off',
|
|
'vue/no-mutating-props': 'off'
|
|
}
|
|
}
|
|
|