-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc.js
32 lines (32 loc) · 887 Bytes
/
.eslintrc.js
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
module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/essential',
'@vue/standard',
'@vue/typescript'
],
rules: {
'no-console': 'off',
'no-debugger': 'off',
'vue/attribute-hyphenation': 'warning',
'vue/html-closing-bracket-newline': 'warning',
'vue/html-quotes': 'error',
'vue/multiline-html-element-content-newline': 'warning',
'vue/mustache-interpolation-spacing': 'error',
'vue/name-property-casing': 'error',
'vue/no-spaces-around-equal-signs-in-attribute': 'error',
'vue/no-template-shadow': 'error',
'vue/prop-name-casing': 'error',
'vue/require-default-prop': 'warning',
'vue/require-prop-types': 'warning',
'vue/no-v-html': 'warning',
'vue/this-in-template': 'warning',
'vue/camelcase': 'error'
},
parserOptions: {
parser: '@typescript-eslint/parser'
}
}