-
Notifications
You must be signed in to change notification settings - Fork 12
/
.eslintrc
102 lines (102 loc) · 1.97 KB
/
.eslintrc
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"parser": "vue-eslint-parser",
"plugins": [
"vue"
],
"extends": [
"eslint:recommended",
"plugin:vue/recommended",
"prettier"
],
"parserOptions": {
"parser": "@typescript-eslint/parser",
"sourceType": "module",
"ecmaVersion": 6,
"ecmaFeatures": {
"jsx": true,
"legacyDecorators": true
}
},
"env": {
"browser": true,
"amd": true,
"es6": true,
"node": true,
"mocha": true
},
"globals": {
"L": true
},
"rules": {
"no-prototype-builtins": [0],
"no-console": [
0
],
"rest-spread-spacing": [
2
],
"key-spacing": [
2
],
"space-infix-ops": [
2
],
"object-curly-spacing": [
"error",
"always"
],
"semi": [
"error",
"always"
],
"indent": [
2,
4
],
"quotes": [
0,
"single"
],
"space-before-blocks": [
0,
"always"
],
"eqeqeq": 0,
"no-case-declarations": 0,
"no-eval": 0,
"no-useless-escape": 0,
"valid-jsdoc": 0,
"valid-typeof": 2,
"id-match": 0,
"no-async-promise-executor": 0,
"max-depth": [
0,
4
],
"max-len": [
0,
80,
4
],
"max-nested-callbacks": [
0,
2
],
"complexity": [
0,
11
],
"camelcase": 0,
"constructor-super": 0,
"no-duplicate-case": 2,
"no-fallthrough": 2,
"no-unreachable": 2,
"no-unused-vars": [
0,
{
"vars": "all",
"args": "none"
}
]
}
}