@wistia/eslint-config 0.14.1 → 0.14.2
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 +1 -1
- package/rules/eslint/typescript.js +18 -18
package/package.json
CHANGED
|
@@ -71,7 +71,7 @@ module.exports = {
|
|
|
71
71
|
|
|
72
72
|
// Require a specific member delimiter style for interfaces and type literals
|
|
73
73
|
// https://typescript-eslint.io/rules/member-delimiter-style
|
|
74
|
-
'@typescript-eslint/member-delimiter-style': '
|
|
74
|
+
'@typescript-eslint/member-delimiter-style': 'off',
|
|
75
75
|
|
|
76
76
|
// Require a consistent member declaration order
|
|
77
77
|
// https://typescript-eslint.io/rules/member-ordering
|
|
@@ -347,7 +347,7 @@ module.exports = {
|
|
|
347
347
|
|
|
348
348
|
// Require consistent spacing around type annotations
|
|
349
349
|
// https://typescript-eslint.io/rules/type-annotation-spacing
|
|
350
|
-
'@typescript-eslint/type-annotation-spacing': '
|
|
350
|
+
'@typescript-eslint/type-annotation-spacing': 'off',
|
|
351
351
|
|
|
352
352
|
// Require type annotations in certain places
|
|
353
353
|
// https://typescript-eslint.io/rules/typedef
|
|
@@ -368,15 +368,15 @@ module.exports = {
|
|
|
368
368
|
|
|
369
369
|
// Enforce consistent brace style for blocks
|
|
370
370
|
// https://typescript-eslint.io/rules/brace-style
|
|
371
|
-
'@typescript-eslint/brace-style': '
|
|
371
|
+
'@typescript-eslint/brace-style': 'off',
|
|
372
372
|
|
|
373
373
|
// Require or disallow trailing commas
|
|
374
374
|
// https://typescript-eslint.io/rules/comma-dangle
|
|
375
|
-
'@typescript-eslint/comma-dangle': '
|
|
375
|
+
'@typescript-eslint/comma-dangle': 'off',
|
|
376
376
|
|
|
377
377
|
// Enforce consistent spacing before and after commas
|
|
378
378
|
// https://typescript-eslint.io/rules/comma-spacing
|
|
379
|
-
'@typescript-eslint/comma-spacing': '
|
|
379
|
+
'@typescript-eslint/comma-spacing': 'off',
|
|
380
380
|
|
|
381
381
|
// Enforce default parameters to be last
|
|
382
382
|
// https://typescript-eslint.io/rules/default-param-last
|
|
@@ -388,11 +388,11 @@ module.exports = {
|
|
|
388
388
|
|
|
389
389
|
// Require or disallow spacing between function identifiers and their invocations
|
|
390
390
|
// https://typescript-eslint.io/rules/func-call-spacing
|
|
391
|
-
'@typescript-eslint/func-call-spacing': '
|
|
391
|
+
'@typescript-eslint/func-call-spacing': 'off',
|
|
392
392
|
|
|
393
393
|
// Enforce consistent indentation
|
|
394
394
|
// https://typescript-eslint.io/rules/indent
|
|
395
|
-
'@typescript-eslint/indent': '
|
|
395
|
+
'@typescript-eslint/indent': 'off',
|
|
396
396
|
|
|
397
397
|
// Require or disallow initialization in variable declarations
|
|
398
398
|
// https://typescript-eslint.io/rules/init-declarations
|
|
@@ -400,11 +400,11 @@ module.exports = {
|
|
|
400
400
|
|
|
401
401
|
// Enforce consistent spacing before and after keywords
|
|
402
402
|
// https://typescript-eslint.io/rules/keyword-spacing
|
|
403
|
-
'@typescript-eslint/keyword-spacing': '
|
|
403
|
+
'@typescript-eslint/keyword-spacing': 'off',
|
|
404
404
|
|
|
405
405
|
// Require or disallow an empty line between class members
|
|
406
406
|
// https://typescript-eslint.io/rules/lines-between-class-members
|
|
407
|
-
'@typescript-eslint/lines-between-class-members': '
|
|
407
|
+
'@typescript-eslint/lines-between-class-members': 'off',
|
|
408
408
|
|
|
409
409
|
// Disallow generic <code>Array</code> constructors
|
|
410
410
|
// https://typescript-eslint.io/rules/no-array-constructor
|
|
@@ -424,11 +424,11 @@ module.exports = {
|
|
|
424
424
|
|
|
425
425
|
// Disallow unnecessary parentheses
|
|
426
426
|
// https://typescript-eslint.io/rules/no-extra-parens
|
|
427
|
-
'@typescript-eslint/no-extra-parens': '
|
|
427
|
+
'@typescript-eslint/no-extra-parens': 'off',
|
|
428
428
|
|
|
429
429
|
// Disallow unnecessary semicolons
|
|
430
430
|
// https://typescript-eslint.io/rules/no-extra-semi
|
|
431
|
-
'@typescript-eslint/no-extra-semi': '
|
|
431
|
+
'@typescript-eslint/no-extra-semi': 'off',
|
|
432
432
|
|
|
433
433
|
// Disallow the use of <code>eval()</code>-like methods
|
|
434
434
|
// https://typescript-eslint.io/rules/no-implied-eval
|
|
@@ -484,7 +484,7 @@ module.exports = {
|
|
|
484
484
|
|
|
485
485
|
// Enforce consistent spacing inside braces
|
|
486
486
|
// https://typescript-eslint.io/rules/object-curly-spacing
|
|
487
|
-
'@typescript-eslint/object-curly-spacing': '
|
|
487
|
+
'@typescript-eslint/object-curly-spacing': 'off',
|
|
488
488
|
|
|
489
489
|
// Require or disallow padding lines between statements
|
|
490
490
|
// https://typescript-eslint.io/rules/padding-line-between-statements
|
|
@@ -492,7 +492,7 @@ module.exports = {
|
|
|
492
492
|
|
|
493
493
|
// Enforce the consistent use of either backticks, double, or single quotes
|
|
494
494
|
// https://typescript-eslint.io/rules/quotes
|
|
495
|
-
'@typescript-eslint/quotes': '
|
|
495
|
+
'@typescript-eslint/quotes': 'off',
|
|
496
496
|
|
|
497
497
|
// Disallow async functions which have no <code>await</code> expression
|
|
498
498
|
// https://typescript-eslint.io/rules/require-await
|
|
@@ -503,19 +503,19 @@ module.exports = {
|
|
|
503
503
|
'@typescript-eslint/return-await': 'error',
|
|
504
504
|
|
|
505
505
|
// Require or disallow semicolons instead of ASI
|
|
506
|
-
// https://typescript-eslint.io/rules/semi
|
|
507
|
-
'@typescript-eslint/semi': '
|
|
506
|
+
// https://typescript-eslint.io/rules/semi€
|
|
507
|
+
'@typescript-eslint/semi': 'off',
|
|
508
508
|
|
|
509
509
|
// Enforce consistent spacing before blocks
|
|
510
510
|
// https://typescript-eslint.io/rules/space-before-blocks
|
|
511
|
-
'@typescript-eslint/space-before-blocks': '
|
|
511
|
+
'@typescript-eslint/space-before-blocks': 'off',
|
|
512
512
|
|
|
513
513
|
// Enforce consistent spacing before function parenthesis
|
|
514
514
|
// https://typescript-eslint.io/rules/space-before-function-paren
|
|
515
|
-
'@typescript-eslint/space-before-function-paren': '
|
|
515
|
+
'@typescript-eslint/space-before-function-paren': 'off',
|
|
516
516
|
|
|
517
517
|
// Require spacing around infix operators
|
|
518
518
|
// https://typescript-eslint.io/rules/space-infix-ops
|
|
519
|
-
'@typescript-eslint/space-infix-ops': '
|
|
519
|
+
'@typescript-eslint/space-infix-ops': 'off',
|
|
520
520
|
},
|
|
521
521
|
};
|