-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy path.eslintrc.yml
75 lines (62 loc) · 1.33 KB
/
.eslintrc.yml
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
---
parserOptions:
parser: babel-eslint
extends:
- airbnb-base
- plugin:vue/recommended
settings:
import/resolver:
webpack:
config: ./.electron-vue/webpack.renderer.config.js
import/core-modules: [ electron ]
rules:
import/extensions:
- error
- on
- js: off
vue: off
indent: off
indent-legacy:
- error
- tab
no-tabs: off
max-len:
- warn
- 120
no-console: off
no-undef: error
no-unused-vars: error
no-underscore-dangle:
- error
- allow: [ __static ]
# Possible Errors
vue/no-dupe-keys: error
vue/no-reserved-keys: error
vue/no-shared-component-data: error
vue/no-unused-vars: error
vue/require-valid-default-prop: error
vue/return-in-computed-property: error
# Best Practices
vue/no-duplicate-attributes: error
vue/no-side-effects-in-computed-properties: error
vue/order-in-components: error
# Stylistic Issues
vue/attribute-hyphenation: error
vue/html-indent:
- error
- tab
vue/html-quotes: error
vue/html-self-closing:
- error
- html:
normal: always
void: always
component: always
vue/max-attributes-per-line: error
vue/mustache-interpolation-spacing: error
vue/name-property-casing:
- error
- PascalCase
vue/no-multi-spaces: error
vue/v-bind-style: error
vue/v-on-style: error