31 lines
702 B
JavaScript
31 lines
702 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: {
|
|
browser: true,
|
|
node: true,
|
|
'vue/setup-compiler-macros': true
|
|
},
|
|
extends: [
|
|
'plugin:vue/vue3-recommended',
|
|
'eslint:recommended',
|
|
'plugin:@typescript-eslint/recommended',
|
|
'plugin:prettier/recommended'
|
|
],
|
|
parser: 'vue-eslint-parser',
|
|
parserOptions: {
|
|
parser: '@typescript-eslint/parser',
|
|
ecmaVersion: 2020,
|
|
ecmaFeatures: {
|
|
jsx: true
|
|
}
|
|
},
|
|
plugins: ['vue', '@typescript-eslint'],
|
|
rules: {
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
'vue/multi-word-component-names': 'off',
|
|
'@typescript-eslint/no-unused-vars': 'warn',
|
|
'vue/no-unused-vars': 'warn',
|
|
'no-debugger': 'warn'
|
|
}
|
|
};
|