1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
module.exports = {
root: true,
env: {
node: true,
},
extends: [
'plugin:vue/essential',
'@vue/typescript'
],
rules: {
"no-console": "off",
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off",
'vue/attribute-hyphenation': 'warn',
'vue/html-closing-bracket-spacing': 'warn',
'vue/html-end-tags': 'error',
'vue/html-quotes': 'warn',
'vue/html-self-closing': 'off',
'vue/no-multi-spaces': 'warn',
'vue/no-spaces-around-equal-signs-in-attribute': 'warn',
'vue/no-template-shadow': 'error',
'vue/v-bind-style': 'warn',
'vue/v-on-style': 'warn',
'vue/attributes-order': 'warn',
'vue/this-in-template': 'warn'
},
parserOptions: {
parser: '@typescript-eslint/parser',
},
};
|