This repository has been archived by the owner on Jul 16, 2022. It is now read-only.
forked from valtech-nyc/eslint-config-valtech
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvue.js
50 lines (50 loc) · 1.7 KB
/
vue.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
module.exports = {
extends: 'plugin:vue/base',
rules: {
'vue/attribute-hyphenation': [2, 'always'],
'vue/html-end-tags': 2,
'vue/html-indent': [2, 4],
'vue/html-quotes': 2,
'vue/html-self-closing': 2,
'vue/max-attributes-per-line': 0,
'vue/mustache-interpolation-spacing': 2,
'vue/name-property-casing': [2, 'kebab-case'],
'vue/no-async-in-computed-properties': 2,
'vue/no-confusing-v-for-v-if': 2,
'vue/no-dupe-keys': 2,
'vue/no-duplicate-attributes': 2,
'vue/no-multi-spaces': 2,
'vue/no-parsing-error': 2,
'vue/no-reserved-keys': 2,
'vue/no-shared-component-data': 2,
'vue/no-side-effects-in-computed-properties': 2,
'vue/no-template-key': 2,
'vue/no-textarea-mustache': 2,
'vue/no-unused-vars': 2,
'vue/order-in-components': 2,
'vue/require-component-is': 2,
'vue/require-default-prop': 2,
'vue/require-prop-types': 2,
'vue/require-render-return': 2,
'vue/require-v-for-key': 2,
'vue/require-valid-default-prop': 2,
'vue/return-in-computed-property': 2,
'vue/this-in-template': [2, 'always'],
'vue/v-bind-style': 2,
'vue/v-on-style': 2,
'vue/valid-template-root': 2,
'vue/valid-v-bind': 2,
'vue/valid-v-cloak': 2,
'vue/valid-v-else-if': 2,
'vue/valid-v-else': 2,
'vue/valid-v-for': 2,
'vue/valid-v-html': 2,
'vue/valid-v-if': 2,
'vue/valid-v-model': 2,
'vue/valid-v-on': 2,
'vue/valid-v-once': 2,
'vue/valid-v-pre': 2,
'vue/valid-v-show': 2,
'vue/valid-v-text': 2
}
};