eslint-config-entva-typescript-base 2.8.0 → 2.9.0
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/index.js +15 -10
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -162,6 +162,11 @@ export default [
|
|
|
162
162
|
enforceForArrowConditionals: false,
|
|
163
163
|
}],
|
|
164
164
|
|
|
165
|
+
'@stylistic/ts/type-annotation-spacing': ['error', {
|
|
166
|
+
before: false,
|
|
167
|
+
after: true,
|
|
168
|
+
}],
|
|
169
|
+
|
|
165
170
|
'@stylistic/ts/member-delimiter-style': ['error', {
|
|
166
171
|
multiline: {
|
|
167
172
|
delimiter: 'comma',
|
|
@@ -173,16 +178,16 @@ export default [
|
|
|
173
178
|
}],
|
|
174
179
|
'@stylistic/ts/func-call-spacing': ['error', 'never'],
|
|
175
180
|
'@stylistic/ts/no-extra-semi': ['error'],
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
181
|
+
'@stylistic/ts/comma-dangle': ['error', {
|
|
182
|
+
arrays: 'always-multiline',
|
|
183
|
+
objects: 'always-multiline',
|
|
184
|
+
imports: 'always-multiline',
|
|
185
|
+
exports: 'always-multiline',
|
|
186
|
+
functions: 'always-multiline',
|
|
187
|
+
enums: 'always-multiline',
|
|
188
|
+
generics: 'always-multiline',
|
|
189
|
+
tuples: 'always-multiline',
|
|
190
|
+
}],
|
|
186
191
|
},
|
|
187
192
|
},
|
|
188
193
|
];
|