-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
131 lines (131 loc) · 3.01 KB
/
.eslintrc.json
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"root": true,
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module"
},
"globals": {
"angular": false,
"jasmine": false,
"moment": false,
"d3": false,
"$filter": false,
"APIURL": false,
"$": false,
"jQuery": false,
"jquery": false,
"require": false,
"jsPDF": false,
"jspdf": false,
"Keycloak": false
},
"rules": {
"no-extra-bind": 2,
"strict": 2,
"no-trailing-spaces": 2,
"block-spacing": 2,
"space-before-blocks": 2,
"constructor-super": 2,
"no-class-assign": 2,
"prefer-template": 2,
"prefer-spread": 2,
"no-var": 2,
"prefer-const": 1,
"one-var": [
1,
"always"
],
"linebreak-style": [
2,
"unix"
],
"quotes": [
2,
"single"
],
"semi": [
2,
"always"
],
"no-empty": 2,
"curly": [
2,
"all"
],
"indent": [
2,
4,
{
"FunctionDeclaration": {
"parameters": "first"
}
}
],
"keyword-spacing": [
2,
{
"after": true,
"before": true
}
],
"key-spacing": [
2,
{
"beforeColon": false,
"afterColon": true
}
],
"semi-spacing": [
2,
{
"before": false,
"after": true
}
],
"no-mixed-spaces-and-tabs": [
2,
"smart-tabs"
],
"arrow-spacing": [
2,
{
"before": true,
"after": true
}
],
"no-duplicate-imports": [
2,
{
"includeExports": true
}
],
"object-shorthand": [
2,
"always"
],
"no-console": ["error", { "allow": ["log", "warn", "error"] }],
"arrow-parens": 1,
"generator-star-spacing": [1, {"before": true, "after": false}],
"no-confusing-arrow": [1, { "allowParens": true }],
"no-const-assign": 1,
"no-dupe-class-members": 1,
"no-new-symbol": 1,
"no-restricted-imports": 0,
"no-this-before-super": 1,
"no-useless-computed-key": 1,
"no-useless-constructor": 1,
"no-useless-rename": 1,
"prefer-arrow-callback": 0,
"prefer-reflect": 0,
"prefer-rest-params": 0,
"require-yield": 1,
"rest-spread-spacing": [1, "never"],
"sort-imports": 0,
"template-curly-spacing": [1, "never"],
"yield-star-spacing": [1, "before"]
}
}