@ololoepepe/eslint-config-typescript 0.0.8 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ export default {
|
|
|
6
6
|
'signature',
|
|
7
7
|
'readonly-signature',
|
|
8
8
|
|
|
9
|
-
//
|
|
9
|
+
// Static
|
|
10
10
|
'public-static-field',
|
|
11
11
|
'static-field',
|
|
12
12
|
'public-static-readonly-field',
|
|
@@ -20,6 +20,26 @@ export default {
|
|
|
20
20
|
'#private-static-field',
|
|
21
21
|
'#private-static-readonly-field',
|
|
22
22
|
|
|
23
|
+
'static-initialization',
|
|
24
|
+
|
|
25
|
+
'public-static-get',
|
|
26
|
+
'static-get',
|
|
27
|
+
'protected-static-get',
|
|
28
|
+
'private-static-get',
|
|
29
|
+
'#private-static-get',
|
|
30
|
+
|
|
31
|
+
'public-static-set',
|
|
32
|
+
'static-set',
|
|
33
|
+
'protected-static-set',
|
|
34
|
+
'private-static-set',
|
|
35
|
+
'#private-static-set',
|
|
36
|
+
|
|
37
|
+
'public-static-method',
|
|
38
|
+
'protected-static-method',
|
|
39
|
+
'private-static-method',
|
|
40
|
+
'#private-static-method',
|
|
41
|
+
|
|
42
|
+
// Fields
|
|
23
43
|
'public-abstract-field',
|
|
24
44
|
'abstract-field',
|
|
25
45
|
'public-abstract-readonly-field',
|
|
@@ -59,21 +79,12 @@ export default {
|
|
|
59
79
|
'#private-instance-readonly-field',
|
|
60
80
|
'#private-readonly-field',
|
|
61
81
|
|
|
62
|
-
// Static initialization
|
|
63
|
-
'static-initialization',
|
|
64
|
-
|
|
65
82
|
// Constructors
|
|
66
83
|
'public-constructor',
|
|
67
84
|
'protected-constructor',
|
|
68
85
|
'private-constructor',
|
|
69
86
|
|
|
70
87
|
// Getters
|
|
71
|
-
'public-static-get',
|
|
72
|
-
'static-get',
|
|
73
|
-
'protected-static-get',
|
|
74
|
-
'private-static-get',
|
|
75
|
-
'#private-static-get',
|
|
76
|
-
|
|
77
88
|
'public-abstract-get',
|
|
78
89
|
'abstract-get',
|
|
79
90
|
|
|
@@ -97,12 +108,6 @@ export default {
|
|
|
97
108
|
'#private-get',
|
|
98
109
|
|
|
99
110
|
// Setters
|
|
100
|
-
'public-static-set',
|
|
101
|
-
'static-set',
|
|
102
|
-
'protected-static-set',
|
|
103
|
-
'private-static-set',
|
|
104
|
-
'#private-static-set',
|
|
105
|
-
|
|
106
111
|
'public-abstract-set',
|
|
107
112
|
'abstract-set',
|
|
108
113
|
|
|
@@ -126,11 +131,6 @@ export default {
|
|
|
126
131
|
'#private-set',
|
|
127
132
|
|
|
128
133
|
// Methods
|
|
129
|
-
'public-static-method',
|
|
130
|
-
'protected-static-method',
|
|
131
|
-
'private-static-method',
|
|
132
|
-
'#private-static-method',
|
|
133
|
-
|
|
134
134
|
'public-abstract-method',
|
|
135
135
|
|
|
136
136
|
'public-decorated-method',
|
|
@@ -137,11 +137,11 @@ export default {
|
|
|
137
137
|
vars: 'all'
|
|
138
138
|
}],
|
|
139
139
|
'@typescript-eslint/no-use-before-define': ['error', {
|
|
140
|
-
classes:
|
|
141
|
-
enums:
|
|
140
|
+
classes: false,
|
|
141
|
+
enums: false,
|
|
142
142
|
functions: false,
|
|
143
143
|
ignoreTypeReferences: true,
|
|
144
|
-
typedefs:
|
|
144
|
+
typedefs: false,
|
|
145
145
|
variables: true
|
|
146
146
|
}],
|
|
147
147
|
'@typescript-eslint/no-useless-constructor': 'error',
|