linted 19.1.0-rc.0 → 19.1.0-rc.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -415,6 +415,351 @@ declare const _default: (readonly ["stylistic", {
415
415
  readonly before: false;
416
416
  readonly after: true;
417
417
  }];
418
+ }] | readonly ["enable", {
419
+ readonly "array-callback-return": readonly ["error", {
420
+ readonly allowImplicit: false;
421
+ readonly checkForEach: true;
422
+ readonly allowVoid: true;
423
+ }];
424
+ readonly "constructor-super": "error";
425
+ readonly "for-direction": "error";
426
+ readonly "getter-return": readonly ["error", {
427
+ readonly allowImplicit: false;
428
+ }];
429
+ readonly "no-async-promise-executor": "error";
430
+ readonly "no-await-in-loop": "error";
431
+ readonly "no-class-assign": "error";
432
+ readonly "no-compare-neg-zero": "error";
433
+ readonly "no-cond-assign": readonly ["error", "always"];
434
+ readonly "no-const-assign": "error";
435
+ readonly "no-constant-binary-expression": "error";
436
+ readonly "no-constant-condition": readonly ["error", {
437
+ readonly checkLoops: true;
438
+ }];
439
+ readonly "no-constructor-return": "error";
440
+ readonly "no-control-regex": "error";
441
+ readonly "no-debugger": "error";
442
+ readonly "no-dupe-args": "error";
443
+ readonly "no-dupe-class-members": "error";
444
+ readonly "no-dupe-else-if": "error";
445
+ readonly "no-dupe-keys": "error";
446
+ readonly "no-duplicate-case": "error";
447
+ readonly "no-duplicate-imports": "off";
448
+ readonly "no-empty-character-class": "error";
449
+ readonly "no-empty-pattern": readonly ["error", {
450
+ readonly allowObjectPatternsAsParameters: false;
451
+ }];
452
+ readonly "no-ex-assign": "error";
453
+ readonly "no-fallthrough": readonly ["error", {
454
+ readonly allowEmptyCase: true;
455
+ readonly reportUnusedFallthroughComment: true;
456
+ }];
457
+ readonly "no-func-assign": "error";
458
+ readonly "no-import-assign": "error";
459
+ readonly "no-inner-declarations": readonly ["error", "both", {
460
+ readonly blockScopedFunctions: "allow";
461
+ }];
462
+ readonly "no-invalid-regexp": readonly ["error", {
463
+ readonly allowConstructorFlags: readonly [];
464
+ }];
465
+ readonly "no-irregular-whitespace": readonly ["error", {
466
+ readonly skipStrings: true;
467
+ readonly skipComments: true;
468
+ readonly skipRegExps: true;
469
+ readonly skipTemplates: true;
470
+ readonly skipJSXText: true;
471
+ }];
472
+ readonly "no-loss-of-precision": "error";
473
+ readonly "no-misleading-character-class": "error";
474
+ readonly "no-new-native-nonconstructor": "error";
475
+ readonly "no-obj-calls": "error";
476
+ readonly "no-promise-executor-return": readonly ["error", {
477
+ readonly allowVoid: true;
478
+ }];
479
+ readonly "no-prototype-builtins": "error";
480
+ readonly "no-self-assign": readonly ["error", {
481
+ readonly props: true;
482
+ }];
483
+ readonly "no-self-compare": "error";
484
+ readonly "no-setter-return": "error";
485
+ readonly "no-sparse-arrays": "error";
486
+ readonly "no-template-curly-in-string": "error";
487
+ readonly "no-this-before-super": "error";
488
+ readonly "no-undef": "error";
489
+ readonly "no-unexpected-multiline": "error";
490
+ readonly "no-unmodified-loop-condition": "error";
491
+ readonly "no-unreachable": "error";
492
+ readonly "no-unreachable-loop": readonly ["error", {
493
+ readonly ignore: readonly [];
494
+ }];
495
+ readonly "no-unsafe-finally": "error";
496
+ readonly "no-unsafe-negation": readonly ["error", {
497
+ readonly enforceForOrderingRelations: true;
498
+ }];
499
+ readonly "no-unsafe-optional-chaining": readonly ["error", {
500
+ readonly disallowArithmeticOperators: true;
501
+ }];
502
+ readonly "no-unused-private-class-members": "error";
503
+ readonly "no-unused-vars": readonly ["error", {
504
+ readonly vars: "all";
505
+ readonly args: "all";
506
+ readonly caughtErrors: "all";
507
+ readonly ignoreRestSiblings: false;
508
+ readonly ignoreClassWithStaticInitBlock: false;
509
+ readonly reportUsedIgnorePattern: true;
510
+ }];
511
+ readonly "no-use-before-define": readonly ["error", {
512
+ readonly functions: true;
513
+ readonly classes: true;
514
+ readonly variables: true;
515
+ readonly allowNamedExports: false;
516
+ }];
517
+ readonly "no-useless-assignment": "error";
518
+ readonly "no-useless-backreference": "error";
519
+ readonly "require-atomic-updates": readonly ["error", {
520
+ readonly allowProperties: false;
521
+ }];
522
+ readonly "use-isnan": readonly ["error", {
523
+ readonly enforceForSwitchCase: true;
524
+ readonly enforceForIndexOf: true;
525
+ }];
526
+ readonly "valid-typeof": readonly ["error", {
527
+ readonly requireStringLiterals: true;
528
+ }];
529
+ readonly "accessor-pairs": readonly ["error", {
530
+ readonly setWithoutGet: true;
531
+ readonly getWithoutSet: false;
532
+ readonly enforceForClassMembers: true;
533
+ }];
534
+ readonly "arrow-body-style": readonly ["error", "as-needed", {
535
+ readonly requireReturnForObjectLiteral: true;
536
+ }];
537
+ readonly "block-scoped-var": "error";
538
+ readonly camelcase: "off";
539
+ readonly "capitalized-comments": "off";
540
+ readonly "class-methods-use-this": "off";
541
+ readonly complexity: "off";
542
+ readonly "consistent-return": readonly ["error", {
543
+ readonly treatUndefinedAsUnspecified: false;
544
+ }];
545
+ readonly "consistent-this": "error";
546
+ readonly curly: readonly ["error", "multi"];
547
+ readonly "default-case": "off";
548
+ readonly "default-case-last": "error";
549
+ readonly "default-param-last": "error";
550
+ readonly "dot-notation": readonly ["error", {
551
+ readonly allowKeywords: true;
552
+ }];
553
+ readonly eqeqeq: readonly ["error", "always"];
554
+ readonly "func-name-matching": "off";
555
+ readonly "func-names": "off";
556
+ readonly "func-style": "off";
557
+ readonly "grouped-accessor-pairs": "off";
558
+ readonly "guard-for-in": "off";
559
+ readonly "id-denylist": "off";
560
+ readonly "id-length": "off";
561
+ readonly "id-match": "off";
562
+ readonly "init-declarations": readonly ["error", "always"];
563
+ readonly "logical-assignment-operators": readonly ["error", "always", {
564
+ readonly enforceForIfStatements: true;
565
+ }];
566
+ readonly "max-classes-per-file": "off";
567
+ readonly "max-depth": "off";
568
+ readonly "max-lines": "off";
569
+ readonly "max-lines-per-function": "off";
570
+ readonly "max-nested-callbacks": "off";
571
+ readonly "max-params": "off";
572
+ readonly "max-statements": "off";
573
+ readonly "multiline-comment-style": "off";
574
+ readonly "new-cap": "off";
575
+ readonly "no-alert": "error";
576
+ readonly "no-array-constructor": "error";
577
+ readonly "no-bitwise": readonly ["error", {
578
+ readonly allow: readonly [];
579
+ readonly int32Hint: true;
580
+ }];
581
+ readonly "no-caller": "error";
582
+ readonly "no-case-declarations": "error";
583
+ readonly "no-console": "off";
584
+ readonly "no-continue": "error";
585
+ readonly "no-delete-var": "error";
586
+ readonly "no-div-regex": "error";
587
+ readonly "no-else-return": "off";
588
+ readonly "no-empty": readonly ["error", {
589
+ readonly allowEmptyCatch: false;
590
+ }];
591
+ readonly "no-empty-function": readonly ["error", {
592
+ readonly allow: readonly ["constructors"];
593
+ }];
594
+ readonly "no-empty-static-block": "error";
595
+ readonly "no-eq-null": "error";
596
+ readonly "no-eval": readonly ["error", {
597
+ readonly allowIndirect: false;
598
+ }];
599
+ readonly "no-extend-native": readonly ["error", {
600
+ readonly exceptions: readonly [];
601
+ }];
602
+ readonly "no-extra-bind": "error";
603
+ readonly "no-extra-boolean-cast": readonly ["error", {
604
+ readonly enforceForLogicalOperands: true;
605
+ }];
606
+ readonly "no-extra-label": "error";
607
+ readonly "no-global-assign": readonly ["error", {
608
+ readonly exceptions: readonly [];
609
+ }];
610
+ readonly "no-implicit-coercion": readonly ["error", {
611
+ readonly boolean: true;
612
+ readonly number: true;
613
+ readonly string: true;
614
+ readonly disallowTemplateShorthand: true;
615
+ readonly allow: readonly [];
616
+ }];
617
+ readonly "no-implicit-globals": "off";
618
+ readonly "no-implied-eval": "error";
619
+ readonly "no-inline-comments": "off";
620
+ readonly "no-invalid-this": readonly ["error", {
621
+ readonly capIsConstructor: false;
622
+ }];
623
+ readonly "no-iterator": "error";
624
+ readonly "no-label-var": "error";
625
+ readonly "no-lone-blocks": "error";
626
+ readonly "no-lonely-if": "off";
627
+ readonly "no-loop-func": "error";
628
+ readonly "no-magic-numbers": "off";
629
+ readonly "no-multi-assign": readonly ["error", {
630
+ readonly ignoreNonDeclaration: false;
631
+ }];
632
+ readonly "no-multi-str": "error";
633
+ readonly "no-negated-condition": "off";
634
+ readonly "no-nested-ternary": "off";
635
+ readonly "no-new": "error";
636
+ readonly "no-new-func": "error";
637
+ readonly "no-new-wrappers": "error";
638
+ readonly "no-nonoctal-decimal-escape": "error";
639
+ readonly "no-object-constructor": "error";
640
+ readonly "no-octal": "error";
641
+ readonly "no-octal-escape": "error";
642
+ readonly "no-param-reassign": readonly ["error", {
643
+ readonly props: true;
644
+ readonly ignorePropertyModificationsFor: readonly [];
645
+ readonly ignorePropertyModificationsForRegex: readonly [];
646
+ }];
647
+ readonly "no-plusplus": readonly ["error", {
648
+ readonly allowForLoopAfterthoughts: true;
649
+ }];
650
+ readonly "no-proto": "error";
651
+ readonly "no-redeclare": readonly ["error", {
652
+ readonly builtinGlobals: true;
653
+ }];
654
+ readonly "no-regex-spaces": "off";
655
+ readonly "no-restricted-exports": "off";
656
+ readonly "no-restricted-globals": "off";
657
+ readonly "no-restricted-imports": "off";
658
+ readonly "no-restricted-properties": "off";
659
+ readonly "no-restricted-syntax": "off";
660
+ readonly "no-return-assign": readonly ["error", "always"];
661
+ readonly "no-script-url": "error";
662
+ readonly "no-sequences": readonly ["error", {
663
+ readonly allowInParentheses: true;
664
+ }];
665
+ readonly "no-shadow": "off";
666
+ readonly "no-shadow-restricted-names": "error";
667
+ readonly "no-ternary": "off";
668
+ readonly "no-throw-literal": "error";
669
+ readonly "no-undef-init": "error";
670
+ readonly "no-undefined": "off";
671
+ readonly "no-underscore-dangle": "off";
672
+ readonly "no-unneeded-ternary": readonly ["error", {
673
+ readonly defaultAssignment: false;
674
+ }];
675
+ readonly "no-unused-expressions": readonly ["error", {
676
+ readonly allowShortCircuit: true;
677
+ readonly allowTernary: true;
678
+ readonly allowTaggedTemplates: true;
679
+ readonly enforceForJSX: false;
680
+ }];
681
+ readonly "no-unused-labels": "error";
682
+ readonly "no-useless-call": "error";
683
+ readonly "no-useless-catch": "error";
684
+ readonly "no-useless-computed-key": readonly ["error", {
685
+ readonly enforceForClassMembers: true;
686
+ }];
687
+ readonly "no-useless-concat": "error";
688
+ readonly "no-useless-constructor": "error";
689
+ readonly "no-useless-escape": "error";
690
+ readonly "no-useless-rename": readonly ["error", {
691
+ readonly ignoreImport: false;
692
+ readonly ignoreExport: false;
693
+ readonly ignoreDestructuring: false;
694
+ }];
695
+ readonly "no-useless-return": "error";
696
+ readonly "no-var": "error";
697
+ readonly "no-void": readonly ["error", {
698
+ readonly allowAsStatement: true;
699
+ }];
700
+ readonly "no-warning-comments": "off";
701
+ readonly "no-with": "error";
702
+ readonly "object-shorthand": readonly ["error", "always", {
703
+ readonly avoidQuotes: true;
704
+ readonly ignoreConstructors: false;
705
+ readonly avoidExplicitReturnArrows: false;
706
+ }];
707
+ readonly "one-var": readonly ["error", {
708
+ readonly var: "consecutive";
709
+ readonly let: "consecutive";
710
+ readonly const: "consecutive";
711
+ readonly separateRequires: true;
712
+ }];
713
+ readonly "operator-assignment": readonly ["error", "always"];
714
+ readonly "prefer-arrow-callback": readonly ["error", {
715
+ readonly allowNamedFunctions: false;
716
+ readonly allowUnboundThis: true;
717
+ }];
718
+ readonly "prefer-const": readonly ["error", {
719
+ readonly destructuring: "all";
720
+ readonly ignoreReadBeforeAssign: false;
721
+ }];
722
+ readonly "prefer-destructuring": readonly ["error", {
723
+ readonly VariableDeclarator: {
724
+ readonly array: true;
725
+ readonly object: true;
726
+ };
727
+ readonly AssignmentExpression: {
728
+ readonly array: false;
729
+ readonly object: false;
730
+ };
731
+ }, {
732
+ readonly enforceForRenamedProperties: true;
733
+ }];
734
+ readonly "prefer-exponentiation-operator": "error";
735
+ readonly "prefer-named-capture-group": "off";
736
+ readonly "prefer-numeric-literals": "error";
737
+ readonly "prefer-object-has-own": "error";
738
+ readonly "prefer-object-spread": "error";
739
+ readonly "prefer-promise-reject-errors": readonly ["error", {
740
+ readonly allowEmptyReject: false;
741
+ }];
742
+ readonly "prefer-regex-literals": readonly ["error", {
743
+ readonly disallowRedundantWrapping: true;
744
+ }];
745
+ readonly "prefer-rest-params": "error";
746
+ readonly "prefer-spread": "error";
747
+ readonly "prefer-template": "error";
748
+ readonly radix: readonly ["error", "as-needed"];
749
+ readonly "require-await": "error";
750
+ readonly "require-unicode-regexp": "error";
751
+ readonly "require-yield": "error";
752
+ readonly "sort-imports": "off";
753
+ readonly "sort-keys": "off";
754
+ readonly "sort-vars": "off";
755
+ readonly strict: "off";
756
+ readonly "symbol-description": "off";
757
+ readonly "vars-on-top": "error";
758
+ readonly yoda: readonly ["error", "never", {
759
+ readonly exceptRange: false;
760
+ readonly onlyEquality: false;
761
+ }];
762
+ readonly "unicode-bom": "off";
418
763
  }] | readonly ["disable", {
419
764
  readonly "constructor-super": "off";
420
765
  readonly "no-const-assign": "off";
@@ -524,6 +869,299 @@ declare const _default: (readonly ["stylistic", {
524
869
  readonly allowEmptyReject: false;
525
870
  }];
526
871
  readonly "@typescript-eslint/require-await": "error";
527
- }] | readonly ["recommended", Record<string, "off">] | readonly ["enable", {}])[];
872
+ }] | readonly ["enable", {
873
+ readonly "@typescript-eslint/adjacent-overload-signatures": "off";
874
+ readonly "@typescript-eslint/array-type": readonly ["error", {
875
+ readonly default: "array";
876
+ readonly readonly: "array";
877
+ }];
878
+ readonly "@typescript-eslint/await-thenable": "error";
879
+ readonly "@typescript-eslint/ban-ts-comment": readonly ["error", {
880
+ readonly "ts-check": false;
881
+ readonly "ts-expect-error": {
882
+ readonly descriptionFormat: "^: BUG: .+$";
883
+ };
884
+ readonly "ts-ignore": true;
885
+ readonly "ts-nocheck": true;
886
+ readonly minimumDescriptionLength: 32;
887
+ }];
888
+ readonly "@typescript-eslint/ban-tslint-comment": "error";
889
+ readonly "@typescript-eslint/class-literal-property-style": readonly ["error", "fields"];
890
+ readonly "@typescript-eslint/consistent-generic-constructors": readonly ["error", "constructor"];
891
+ readonly "@typescript-eslint/consistent-indexed-object-style": readonly ["error", "record"];
892
+ readonly "@typescript-eslint/consistent-type-assertions": readonly ["error", {
893
+ readonly assertionStyle: "as";
894
+ readonly objectLiteralTypeAssertions: "never";
895
+ }];
896
+ readonly "@typescript-eslint/consistent-type-definitions": "off";
897
+ readonly "@typescript-eslint/consistent-type-exports": readonly ["error", {
898
+ readonly fixMixedExportsWithInlineTypeSpecifier: false;
899
+ }];
900
+ readonly "@typescript-eslint/consistent-type-imports": readonly ["error", {
901
+ readonly disallowTypeAnnotations: true;
902
+ readonly fixStyle: "separate-type-imports";
903
+ readonly prefer: "type-imports";
904
+ }];
905
+ readonly "@typescript-eslint/explicit-function-return-type": "off";
906
+ readonly "@typescript-eslint/explicit-member-accessibility": readonly ["error", {
907
+ readonly accessibility: "explicit";
908
+ readonly ignoredMethodNames: readonly [];
909
+ readonly overrides: {
910
+ readonly properties: "explicit";
911
+ readonly constructors: "no-public";
912
+ readonly accessors: "explicit";
913
+ readonly methods: "explicit";
914
+ readonly parameterProperties: "explicit";
915
+ };
916
+ }];
917
+ readonly "@typescript-eslint/explicit-module-boundary-types": "off";
918
+ readonly "@typescript-eslint/member-ordering": readonly ["error", {
919
+ readonly default: {
920
+ readonly memberTypes: readonly ["signature", "call-signature", "public-static-field", "protected-static-field", "private-static-field", "#private-static-field", "public-decorated-field", "protected-decorated-field", "private-decorated-field", "public-instance-field", "protected-instance-field", "private-instance-field", "#private-instance-field", "public-abstract-field", "protected-abstract-field", "public-field", "protected-field", "private-field", "#private-field", "static-field", "instance-field", "abstract-field", "decorated-field", "field", "static-initialization", "public-constructor", "protected-constructor", "private-constructor", "constructor", "public-static-accessor", "protected-static-accessor", "private-static-accessor", "#private-static-accessor", "public-decorated-accessor", "protected-decorated-accessor", "private-decorated-accessor", "public-instance-accessor", "protected-instance-accessor", "private-instance-accessor", "#private-instance-accessor", "public-abstract-accessor", "protected-abstract-accessor", "public-accessor", "protected-accessor", "private-accessor", "#private-accessor", "static-accessor", "instance-accessor", "abstract-accessor", "decorated-accessor", "accessor", "public-static-get", "protected-static-get", "private-static-get", "#private-static-get", "public-decorated-get", "protected-decorated-get", "private-decorated-get", "public-instance-get", "protected-instance-get", "private-instance-get", "#private-instance-get", "public-abstract-get", "protected-abstract-get", "public-get", "protected-get", "private-get", "#private-get", "static-get", "instance-get", "abstract-get", "decorated-get", "get", "public-static-set", "protected-static-set", "private-static-set", "#private-static-set", "public-decorated-set", "protected-decorated-set", "private-decorated-set", "public-instance-set", "protected-instance-set", "private-instance-set", "#private-instance-set", "public-abstract-set", "protected-abstract-set", "public-set", "protected-set", "private-set", "#private-set", "static-set", "instance-set", "abstract-set", "decorated-set", "set", "public-static-method", "protected-static-method", "private-static-method", "#private-static-method", "public-decorated-method", "protected-decorated-method", "private-decorated-method", "public-instance-method", "protected-instance-method", "private-instance-method", "#private-instance-method", "public-abstract-method", "protected-abstract-method", "public-method", "protected-method", "private-method", "#private-method", "static-method", "instance-method", "abstract-method", "decorated-method", "method"];
921
+ readonly optionalityOrder: "required-first";
922
+ readonly order: "as-written";
923
+ };
924
+ }];
925
+ readonly "@typescript-eslint/method-signature-style": readonly ["error", "property"];
926
+ readonly "@typescript-eslint/naming-convention": "off";
927
+ readonly "@typescript-eslint/no-array-delete": "error";
928
+ readonly "@typescript-eslint/no-base-to-string": readonly ["error", {
929
+ readonly ignoredTypeNames: readonly ["Error", "RegExp", "URL", "URLSearchParams"];
930
+ }];
931
+ readonly "@typescript-eslint/no-confusing-non-null-assertion": "error";
932
+ readonly "@typescript-eslint/no-confusing-void-expression": readonly ["error", {
933
+ readonly ignoreArrowShorthand: true;
934
+ readonly ignoreVoidOperator: true;
935
+ }];
936
+ readonly "@typescript-eslint/no-duplicate-enum-values": "error";
937
+ readonly "@typescript-eslint/no-duplicate-type-constituents": readonly ["error", {
938
+ readonly ignoreIntersections: false;
939
+ readonly ignoreUnions: false;
940
+ }];
941
+ readonly "@typescript-eslint/no-dynamic-delete": "error";
942
+ readonly "@typescript-eslint/no-empty-object-type": readonly ["error", {
943
+ readonly allowInterfaces: "never";
944
+ readonly allowObjectTypes: "never";
945
+ }];
946
+ readonly "@typescript-eslint/no-explicit-any": readonly ["error", {
947
+ readonly fixToUnknown: true;
948
+ readonly ignoreRestArgs: false;
949
+ }];
950
+ readonly "@typescript-eslint/no-extra-non-null-assertion": "error";
951
+ readonly "@typescript-eslint/no-extraneous-class": readonly ["error", {
952
+ readonly allowConstructorOnly: false;
953
+ readonly allowEmpty: true;
954
+ readonly allowStaticOnly: false;
955
+ readonly allowWithDecorator: false;
956
+ }];
957
+ readonly "@typescript-eslint/no-floating-promises": readonly ["error", {
958
+ readonly checkThenables: true;
959
+ readonly ignoreVoid: true;
960
+ readonly ignoreIIFE: false;
961
+ }];
962
+ readonly "@typescript-eslint/no-for-in-array": "error";
963
+ readonly "@typescript-eslint/no-import-type-side-effects": "error";
964
+ readonly "@typescript-eslint/no-inferrable-types": readonly ["error", {
965
+ readonly ignoreParameters: false;
966
+ readonly ignoreProperties: false;
967
+ }];
968
+ readonly "@typescript-eslint/no-invalid-void-type": readonly ["error", {
969
+ readonly allowInGenericTypeArguments: true;
970
+ readonly allowAsThisParameter: false;
971
+ }];
972
+ readonly "@typescript-eslint/no-meaningless-void-operator": readonly ["error", {
973
+ readonly checkNever: true;
974
+ }];
975
+ readonly "@typescript-eslint/no-misused-new": "error";
976
+ readonly "@typescript-eslint/no-misused-promises": readonly ["error", {
977
+ readonly checksConditionals: true;
978
+ readonly checksSpreads: true;
979
+ readonly checksVoidReturn: {
980
+ readonly arguments: true;
981
+ readonly attributes: true;
982
+ readonly properties: true;
983
+ readonly returns: true;
984
+ readonly variables: true;
985
+ };
986
+ }];
987
+ readonly "@typescript-eslint/no-mixed-enums": "error";
988
+ readonly "@typescript-eslint/no-namespace": "off";
989
+ readonly "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error";
990
+ readonly "@typescript-eslint/no-non-null-asserted-optional-chain": "error";
991
+ readonly "@typescript-eslint/no-non-null-assertion": "error";
992
+ readonly "@typescript-eslint/no-redundant-type-constituents": "error";
993
+ readonly "@typescript-eslint/no-restricted-types": "off";
994
+ readonly "@typescript-eslint/no-require-imports": readonly ["error", {
995
+ readonly allow: readonly [];
996
+ }];
997
+ readonly "@typescript-eslint/no-this-alias": readonly ["error", {
998
+ readonly allowDestructuring: true;
999
+ readonly allowedNames: readonly [];
1000
+ }];
1001
+ readonly "@typescript-eslint/no-unnecessary-boolean-literal-compare": readonly ["error", {
1002
+ readonly allowComparingNullableBooleansToTrue: true;
1003
+ readonly allowComparingNullableBooleansToFalse: true;
1004
+ }];
1005
+ readonly "@typescript-eslint/no-unnecessary-condition": readonly ["error", {
1006
+ readonly allowConstantLoopConditions: false;
1007
+ readonly allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false;
1008
+ }];
1009
+ readonly "@typescript-eslint/no-unnecessary-qualifier": "error";
1010
+ readonly "@typescript-eslint/no-unnecessary-template-expression": "error";
1011
+ readonly "@typescript-eslint/no-unnecessary-type-arguments": "error";
1012
+ readonly "@typescript-eslint/no-unnecessary-type-assertion": readonly ["error", {
1013
+ readonly typesToIgnore: readonly [];
1014
+ }];
1015
+ readonly "@typescript-eslint/no-unnecessary-type-constraint": "error";
1016
+ readonly "@typescript-eslint/no-unnecessary-type-parameters": "error";
1017
+ readonly "@typescript-eslint/no-unsafe-argument": "error";
1018
+ readonly "@typescript-eslint/no-unsafe-assignment": "error";
1019
+ readonly "@typescript-eslint/no-unsafe-call": "error";
1020
+ readonly "@typescript-eslint/no-unsafe-declaration-merging": "error";
1021
+ readonly "@typescript-eslint/no-unsafe-enum-comparison": "error";
1022
+ readonly "@typescript-eslint/no-unsafe-function-type": "error";
1023
+ readonly "@typescript-eslint/no-unsafe-member-access": "error";
1024
+ readonly "@typescript-eslint/no-unsafe-return": "error";
1025
+ readonly "@typescript-eslint/no-unsafe-unary-minus": "error";
1026
+ readonly "@typescript-eslint/no-useless-empty-export": "error";
1027
+ readonly "@typescript-eslint/no-wrapper-object-types": "error";
1028
+ readonly "@typescript-eslint/non-nullable-type-assertion-style": "off";
1029
+ readonly "@typescript-eslint/parameter-properties": readonly ["error", {
1030
+ readonly prefer: "parameter-property";
1031
+ }];
1032
+ readonly "@typescript-eslint/prefer-as-const": "error";
1033
+ readonly "@typescript-eslint/prefer-enum-initializers": "error";
1034
+ readonly "@typescript-eslint/prefer-find": "error";
1035
+ readonly "@typescript-eslint/prefer-for-of": "error";
1036
+ readonly "@typescript-eslint/prefer-function-type": "error";
1037
+ readonly "@typescript-eslint/prefer-includes": "error";
1038
+ readonly "@typescript-eslint/prefer-literal-enum-member": readonly ["error", {
1039
+ readonly allowBitwiseExpressions: false;
1040
+ }];
1041
+ readonly "@typescript-eslint/prefer-namespace-keyword": "error";
1042
+ readonly "@typescript-eslint/prefer-nullish-coalescing": readonly ["error", {
1043
+ readonly allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false;
1044
+ readonly ignoreConditionalTests: false;
1045
+ readonly ignoreTernaryTests: false;
1046
+ readonly ignoreMixedLogicalExpressions: false;
1047
+ readonly ignorePrimitives: {
1048
+ readonly bigint: false;
1049
+ readonly boolean: false;
1050
+ readonly number: false;
1051
+ readonly string: false;
1052
+ };
1053
+ }];
1054
+ readonly "@typescript-eslint/prefer-optional-chain": readonly ["error", {
1055
+ readonly allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing: false;
1056
+ readonly checkAny: true;
1057
+ readonly checkBigInt: true;
1058
+ readonly checkBoolean: true;
1059
+ readonly checkNumber: true;
1060
+ readonly checkString: true;
1061
+ readonly checkUnknown: true;
1062
+ readonly requireNullish: false;
1063
+ }];
1064
+ readonly "@typescript-eslint/prefer-readonly": readonly ["error", {
1065
+ readonly onlyInlineLambdas: false;
1066
+ }];
1067
+ readonly "@typescript-eslint/prefer-readonly-parameter-types": "off";
1068
+ readonly "@typescript-eslint/prefer-reduce-type-parameter": "error";
1069
+ readonly "@typescript-eslint/prefer-regexp-exec": "error";
1070
+ readonly "@typescript-eslint/prefer-return-this-type": "error";
1071
+ readonly "@typescript-eslint/prefer-string-starts-ends-with": readonly ["error", {
1072
+ readonly allowSingleElementEquality: "never";
1073
+ }];
1074
+ readonly "@typescript-eslint/promise-function-async": readonly ["error", {
1075
+ readonly allowAny: false;
1076
+ readonly allowedPromiseNames: readonly [];
1077
+ readonly checkArrowFunctions: true;
1078
+ readonly checkFunctionDeclarations: true;
1079
+ readonly checkFunctionExpressions: true;
1080
+ readonly checkMethodDeclarations: true;
1081
+ }];
1082
+ readonly "@typescript-eslint/require-array-sort-compare": readonly ["error", {
1083
+ readonly ignoreStringArrays: true;
1084
+ }];
1085
+ readonly "@typescript-eslint/restrict-plus-operands": readonly ["error", {
1086
+ readonly allowAny: false;
1087
+ readonly allowBoolean: false;
1088
+ readonly allowNullish: false;
1089
+ readonly allowNumberAndString: false;
1090
+ readonly allowRegExp: false;
1091
+ readonly skipCompoundAssignments: false;
1092
+ }];
1093
+ readonly "@typescript-eslint/restrict-template-expressions": readonly ["error", {
1094
+ readonly allowAny: true;
1095
+ readonly allowArray: true;
1096
+ readonly allowBoolean: true;
1097
+ readonly allowNullish: false;
1098
+ readonly allowNumber: true;
1099
+ readonly allowNever: false;
1100
+ readonly allowRegExp: false;
1101
+ }];
1102
+ readonly "@typescript-eslint/return-await": readonly ["error", "in-try-catch"];
1103
+ readonly "@typescript-eslint/strict-boolean-expressions": readonly ["error", {
1104
+ readonly allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false;
1105
+ readonly allowAny: false;
1106
+ readonly allowNumber: true;
1107
+ readonly allowString: false;
1108
+ readonly allowNullableBoolean: false;
1109
+ readonly allowNullableEnum: false;
1110
+ readonly allowNullableNumber: false;
1111
+ readonly allowNullableObject: false;
1112
+ readonly allowNullableString: false;
1113
+ }];
1114
+ readonly "@typescript-eslint/switch-exhaustiveness-check": readonly ["error", {
1115
+ readonly allowDefaultCaseForExhaustiveSwitch: false;
1116
+ readonly requireDefaultForNonUnion: true;
1117
+ }];
1118
+ readonly "@typescript-eslint/triple-slash-reference": readonly ["error", {
1119
+ readonly lib: "never";
1120
+ readonly path: "never";
1121
+ readonly types: "never";
1122
+ }];
1123
+ readonly "@typescript-eslint/typedef": "off";
1124
+ readonly "@typescript-eslint/unbound-method": readonly ["error", {
1125
+ readonly ignoreStatic: false;
1126
+ }];
1127
+ readonly "@typescript-eslint/unified-signatures": readonly ["error", {
1128
+ readonly ignoreDifferentlyNamedParameters: false;
1129
+ }];
1130
+ readonly "@typescript-eslint/use-unknown-in-catch-callback-variable": "error";
1131
+ }] | readonly ["disable", {
1132
+ readonly "prefer-arrow-callback": "off";
1133
+ }] | readonly ["enable", {
1134
+ readonly "mocha/consistent-spacing-between-blocks": "off";
1135
+ readonly "mocha/handle-done-callback": readonly ["error", {
1136
+ readonly ignoreSkipped: false;
1137
+ }];
1138
+ readonly "mocha/max-top-level-suites": readonly ["error", {
1139
+ readonly limit: 1;
1140
+ }];
1141
+ readonly "mocha/no-async-describe": "error";
1142
+ readonly "mocha/no-empty-description": "error";
1143
+ readonly "mocha/no-exclusive-tests": "error";
1144
+ readonly "mocha/no-exports": "error";
1145
+ readonly "mocha/no-global-tests": "error";
1146
+ readonly "mocha/no-hooks-for-single-case": "off";
1147
+ readonly "mocha/no-hooks": "off";
1148
+ readonly "mocha/no-identical-title": "error";
1149
+ readonly "mocha/no-mocha-arrows": "error";
1150
+ readonly "mocha/no-nested-tests": "error";
1151
+ readonly "mocha/no-pending-tests": "warn";
1152
+ readonly "mocha/no-return-and-callback": "error";
1153
+ readonly "mocha/no-return-from-async": "error";
1154
+ readonly "mocha/no-setup-in-describe": "error";
1155
+ readonly "mocha/no-sibling-hooks": "error";
1156
+ readonly "mocha/no-skipped-tests": "error";
1157
+ readonly "mocha/no-synchronous-tests": "off";
1158
+ readonly "mocha/no-top-level-hooks": "error";
1159
+ readonly "mocha/prefer-arrow-callback": readonly ["error", {
1160
+ readonly allowNamedFunctions: false;
1161
+ readonly allowUnboundThis: true;
1162
+ }];
1163
+ readonly "mocha/valid-suite-description": "off";
1164
+ readonly "mocha/valid-test-description": "off";
1165
+ }])[];
528
1166
  export default _default;
529
1167
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/mocha/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/mocha/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}