@robinblomberg/eslint-config-robinblomberg 0.8.5 → 0.8.9
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 +7 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -200,7 +200,7 @@ module.exports = {
|
|
|
200
200
|
],
|
|
201
201
|
'@typescript-eslint/method-signature-style': [warn, 'method'],
|
|
202
202
|
'@typescript-eslint/naming-convention': [
|
|
203
|
-
|
|
203
|
+
off,
|
|
204
204
|
{
|
|
205
205
|
format: ['camelCase'],
|
|
206
206
|
leadingUnderscore: 'allow',
|
|
@@ -213,6 +213,7 @@ module.exports = {
|
|
|
213
213
|
},
|
|
214
214
|
{
|
|
215
215
|
format: ['camelCase', 'PascalCase'],
|
|
216
|
+
leadingUnderscore: 'allow',
|
|
216
217
|
selector: ['function'],
|
|
217
218
|
},
|
|
218
219
|
{
|
|
@@ -222,6 +223,7 @@ module.exports = {
|
|
|
222
223
|
},
|
|
223
224
|
{
|
|
224
225
|
format: ['PascalCase'],
|
|
226
|
+
leadingUnderscore: 'allow',
|
|
225
227
|
selector: [
|
|
226
228
|
'class',
|
|
227
229
|
'enum',
|
|
@@ -232,10 +234,12 @@ module.exports = {
|
|
|
232
234
|
},
|
|
233
235
|
{
|
|
234
236
|
format: ['UPPER_CASE'],
|
|
237
|
+
leadingUnderscore: 'allow',
|
|
235
238
|
selector: ['enumMember'],
|
|
236
239
|
},
|
|
237
240
|
{
|
|
238
241
|
format: null,
|
|
242
|
+
leadingUnderscore: 'allow',
|
|
239
243
|
selector: ['parameter', 'property'],
|
|
240
244
|
},
|
|
241
245
|
],
|
|
@@ -257,7 +261,7 @@ module.exports = {
|
|
|
257
261
|
},
|
|
258
262
|
],
|
|
259
263
|
'@typescript-eslint/no-extra-semi': warn,
|
|
260
|
-
'@typescript-eslint/no-extraneous-class':
|
|
264
|
+
'@typescript-eslint/no-extraneous-class': off,
|
|
261
265
|
'@typescript-eslint/no-floating-promises': [
|
|
262
266
|
warn,
|
|
263
267
|
{
|
|
@@ -372,7 +376,7 @@ module.exports = {
|
|
|
372
376
|
'@typescript-eslint/triple-slash-reference': warn,
|
|
373
377
|
'@typescript-eslint/type-annotation-spacing': warn,
|
|
374
378
|
'@typescript-eslint/typedef': off,
|
|
375
|
-
'@typescript-eslint/unbound-method':
|
|
379
|
+
'@typescript-eslint/unbound-method': off,
|
|
376
380
|
'@typescript-eslint/unified-signatures': warn,
|
|
377
381
|
'default-case': off,
|
|
378
382
|
'func-call-spacing': off,
|