-
Notifications
You must be signed in to change notification settings - Fork 167
/
.eslintrc.js
52 lines (52 loc) · 1.52 KB
/
.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/essential',
'eslint:recommended'
],
parserOptions: {
parser: 'babel-eslint'
},
rules: {
'no-console': 'off',
'no-debugger': 'off',
'no-unreachable': 'warn',
'no-unused-vars': 'warn',
'vue/no-async-in-computed-properties': 'warn',
'vue/no-dupe-keys': 'warn',
'vue/no-duplicate-attributes': 'warn',
'vue/no-parsing-error': 'warn',
'vue/no-reserved-keys': 'warn',
'vue/no-shared-component-data': 'warn',
'vue/no-side-effects-in-computed-properties': 'warn',
'vue/no-template-key': 'warn',
'vue/no-textarea-mustache': 'warn',
'vue/no-unused-components': 'warn',
'vue/no-unused-vars': 'warn',
'vue/no-use-v-if-with-v-for': 'warn',
'vue/require-component-is': 'warn',
'vue/require-prop-type-constructor': 'warn',
'vue/require-render-return': 'warn',
'vue/require-v-for-key': 'warn',
'vue/require-valid-default-prop': 'warn',
'vue/return-in-computed-property': 'warn',
'vue/use-v-on-exact': 'warn',
'vue/valid-template-root': 'warn',
'vue/valid-v-bind': 'warn',
'vue/valid-v-cloak': 'warn',
'vue/valid-v-else-if': 'warn',
'vue/valid-v-else': 'warn',
'vue/valid-v-for': 'warn',
'vue/valid-v-html': 'warn',
'vue/valid-v-if': 'warn',
'vue/valid-v-model': 'warn',
'vue/valid-v-on': 'warn',
'vue/valid-v-once': 'warn',
'vue/valid-v-pre': 'warn',
'vue/valid-v-show': 'warn',
'vue/valid-v-text': 'warn'
}
}