linted 19.1.0-rc.1 → 19.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3578,77 +3578,92 @@ declare const _default: {
3578
3578
  readonly before: false;
3579
3579
  readonly after: true;
3580
3580
  }];
3581
- }] | readonly ["disable", {
3582
- readonly "constructor-super": "off";
3583
- readonly "no-const-assign": "off";
3584
- readonly "no-dupe-args": "off";
3585
- readonly "no-dupe-class-members": "off";
3586
- readonly "no-dupe-keys": "off";
3587
- readonly "no-func-assign": "off";
3588
- readonly "no-obj-calls": "off";
3589
- readonly "no-setter-return": "off";
3590
- readonly "no-this-before-super": "off";
3591
- readonly "no-undef": "off";
3592
- readonly "no-unreachable": "off";
3593
- readonly "no-unsafe-negation": "off";
3594
- readonly "consistent-return": "off";
3595
- readonly "no-redeclare": "off";
3596
- }] | readonly ["disable-extend", {
3597
- readonly "class-methods-use-this": "off";
3598
- readonly "consistent-return": "off";
3599
- readonly "default-param-last": "off";
3600
- readonly "dot-notation": "off";
3601
- readonly "init-declarations": "off";
3602
- readonly "max-params": "off";
3603
- readonly "no-array-constructor": "off";
3604
- readonly "no-dupe-class-members": "off";
3605
- readonly "no-empty-function": "off";
3606
- readonly "no-implied-eval": "off";
3607
- readonly "no-invalid-this": "off";
3608
- readonly "no-loop-func": "off";
3609
- readonly "no-magic-numbers": "off";
3610
- readonly "no-redeclare": "off";
3611
- readonly "no-restricted-imports": "off";
3612
- readonly "no-shadow": "off";
3613
- readonly "no-throw-literal": "off";
3614
- readonly "no-unused-expressions": "off";
3615
- readonly "no-unused-vars": "off";
3616
- readonly "no-use-before-define": "off";
3617
- readonly "no-useless-constructor": "off";
3618
- readonly "prefer-destructuring": "off";
3619
- readonly "prefer-promise-reject-errors": "off";
3620
- readonly "require-await": "off";
3621
- }] | readonly ["enable-extend", {
3622
- readonly "@typescript-eslint/class-methods-use-this": "off";
3623
- readonly "@typescript-eslint/consistent-return": "off";
3624
- readonly "@typescript-eslint/default-param-last": "error";
3625
- readonly "@typescript-eslint/dot-notation": readonly ["error", {
3626
- readonly allowKeywords: true;
3627
- readonly allowPrivateClassPropertyAccess: true;
3628
- readonly allowProtectedClassPropertyAccess: true;
3629
- readonly allowIndexSignaturePropertyAccess: true;
3581
+ }] | readonly ["enable", {
3582
+ readonly "array-callback-return": readonly ["error", {
3583
+ readonly allowImplicit: false;
3584
+ readonly checkForEach: true;
3585
+ readonly allowVoid: true;
3630
3586
  }];
3631
- readonly "@typescript-eslint/init-declarations": readonly ["error", "always"];
3632
- readonly "@typescript-eslint/max-params": "off";
3633
- readonly "@typescript-eslint/no-array-constructor": "error";
3634
- readonly "@typescript-eslint/no-dupe-class-members": "off";
3635
- readonly "@typescript-eslint/no-empty-function": readonly ["error", {
3636
- readonly allow: readonly ["constructors", "private-constructors", "protected-constructors", "decoratedFunctions"];
3587
+ readonly "constructor-super": "error";
3588
+ readonly "for-direction": "error";
3589
+ readonly "getter-return": readonly ["error", {
3590
+ readonly allowImplicit: false;
3637
3591
  }];
3638
- readonly "@typescript-eslint/no-implied-eval": "error";
3639
- readonly "@typescript-eslint/no-invalid-this": "off";
3640
- readonly "@typescript-eslint/no-loop-func": "error";
3641
- readonly "@typescript-eslint/no-magic-numbers": "off";
3642
- readonly "@typescript-eslint/no-redeclare": "off";
3643
- readonly "@typescript-eslint/no-restricted-imports": "off";
3644
- readonly "@typescript-eslint/no-shadow": "off";
3645
- readonly "@typescript-eslint/no-unused-expressions": readonly ["error", {
3646
- readonly allowShortCircuit: true;
3647
- readonly allowTernary: true;
3648
- readonly allowTaggedTemplates: true;
3649
- readonly enforceForJSX: false;
3592
+ readonly "no-async-promise-executor": "error";
3593
+ readonly "no-await-in-loop": "error";
3594
+ readonly "no-class-assign": "error";
3595
+ readonly "no-compare-neg-zero": "error";
3596
+ readonly "no-cond-assign": readonly ["error", "always"];
3597
+ readonly "no-const-assign": "error";
3598
+ readonly "no-constant-binary-expression": "error";
3599
+ readonly "no-constant-condition": readonly ["error", {
3600
+ readonly checkLoops: true;
3650
3601
  }];
3651
- readonly "@typescript-eslint/no-unused-vars": readonly ["error", {
3602
+ readonly "no-constructor-return": "error";
3603
+ readonly "no-control-regex": "error";
3604
+ readonly "no-debugger": "error";
3605
+ readonly "no-dupe-args": "error";
3606
+ readonly "no-dupe-class-members": "error";
3607
+ readonly "no-dupe-else-if": "error";
3608
+ readonly "no-dupe-keys": "error";
3609
+ readonly "no-duplicate-case": "error";
3610
+ readonly "no-duplicate-imports": "off";
3611
+ readonly "no-empty-character-class": "error";
3612
+ readonly "no-empty-pattern": readonly ["error", {
3613
+ readonly allowObjectPatternsAsParameters: false;
3614
+ }];
3615
+ readonly "no-ex-assign": "error";
3616
+ readonly "no-fallthrough": readonly ["error", {
3617
+ readonly allowEmptyCase: true;
3618
+ readonly reportUnusedFallthroughComment: true;
3619
+ }];
3620
+ readonly "no-func-assign": "error";
3621
+ readonly "no-import-assign": "error";
3622
+ readonly "no-inner-declarations": readonly ["error", "both", {
3623
+ readonly blockScopedFunctions: "allow";
3624
+ }];
3625
+ readonly "no-invalid-regexp": readonly ["error", {
3626
+ readonly allowConstructorFlags: readonly [];
3627
+ }];
3628
+ readonly "no-irregular-whitespace": readonly ["error", {
3629
+ readonly skipStrings: true;
3630
+ readonly skipComments: true;
3631
+ readonly skipRegExps: true;
3632
+ readonly skipTemplates: true;
3633
+ readonly skipJSXText: true;
3634
+ }];
3635
+ readonly "no-loss-of-precision": "error";
3636
+ readonly "no-misleading-character-class": "error";
3637
+ readonly "no-new-native-nonconstructor": "error";
3638
+ readonly "no-obj-calls": "error";
3639
+ readonly "no-promise-executor-return": readonly ["error", {
3640
+ readonly allowVoid: true;
3641
+ }];
3642
+ readonly "no-prototype-builtins": "error";
3643
+ readonly "no-self-assign": readonly ["error", {
3644
+ readonly props: true;
3645
+ }];
3646
+ readonly "no-self-compare": "error";
3647
+ readonly "no-setter-return": "error";
3648
+ readonly "no-sparse-arrays": "error";
3649
+ readonly "no-template-curly-in-string": "error";
3650
+ readonly "no-this-before-super": "error";
3651
+ readonly "no-undef": "error";
3652
+ readonly "no-unexpected-multiline": "error";
3653
+ readonly "no-unmodified-loop-condition": "error";
3654
+ readonly "no-unreachable": "error";
3655
+ readonly "no-unreachable-loop": readonly ["error", {
3656
+ readonly ignore: readonly [];
3657
+ }];
3658
+ readonly "no-unsafe-finally": "error";
3659
+ readonly "no-unsafe-negation": readonly ["error", {
3660
+ readonly enforceForOrderingRelations: true;
3661
+ }];
3662
+ readonly "no-unsafe-optional-chaining": readonly ["error", {
3663
+ readonly disallowArithmeticOperators: true;
3664
+ }];
3665
+ readonly "no-unused-private-class-members": "error";
3666
+ readonly "no-unused-vars": readonly ["error", {
3652
3667
  readonly vars: "all";
3653
3668
  readonly args: "all";
3654
3669
  readonly caughtErrors: "all";
@@ -3656,40 +3671,661 @@ declare const _default: {
3656
3671
  readonly ignoreClassWithStaticInitBlock: false;
3657
3672
  readonly reportUsedIgnorePattern: true;
3658
3673
  }];
3659
- readonly "@typescript-eslint/no-use-before-define": readonly ["error", {
3674
+ readonly "no-use-before-define": readonly ["error", {
3660
3675
  readonly functions: true;
3661
3676
  readonly classes: true;
3662
3677
  readonly variables: true;
3663
3678
  readonly allowNamedExports: false;
3664
- readonly enums: true;
3665
- readonly typedefs: false;
3666
- readonly ignoreTypeReferences: true;
3667
3679
  }];
3668
- readonly "@typescript-eslint/no-useless-constructor": "error";
3669
- readonly "@typescript-eslint/only-throw-error": readonly ["error", {
3670
- readonly allowThrowingAny: false;
3671
- readonly allowThrowingUnknown: false;
3680
+ readonly "no-useless-assignment": "error";
3681
+ readonly "no-useless-backreference": "error";
3682
+ readonly "require-atomic-updates": readonly ["error", {
3683
+ readonly allowProperties: false;
3672
3684
  }];
3673
- readonly "@typescript-eslint/prefer-destructuring": readonly ["error", {
3674
- readonly VariableDeclarator: {
3675
- readonly array: true;
3676
- readonly object: true;
3677
- };
3678
- readonly AssignmentExpression: {
3679
- readonly array: false;
3680
- readonly object: false;
3681
- };
3682
- }, {
3683
- readonly enforceForRenamedProperties: false;
3684
- readonly enforceForDeclarationWithTypeAnnotation: false;
3685
+ readonly "use-isnan": readonly ["error", {
3686
+ readonly enforceForSwitchCase: true;
3687
+ readonly enforceForIndexOf: true;
3685
3688
  }];
3686
- readonly "@typescript-eslint/prefer-promise-reject-errors": readonly ["error", {
3687
- readonly allowEmptyReject: false;
3689
+ readonly "valid-typeof": readonly ["error", {
3690
+ readonly requireStringLiterals: true;
3688
3691
  }];
3689
- readonly "@typescript-eslint/require-await": "error";
3690
- }] | readonly ["recommended", Record<string, "off">] | readonly ["disable", {
3691
- readonly "prefer-arrow-callback": "off";
3692
- }] | readonly ["enable", {}])[];
3692
+ readonly "accessor-pairs": readonly ["error", {
3693
+ readonly setWithoutGet: true;
3694
+ readonly getWithoutSet: false;
3695
+ readonly enforceForClassMembers: true;
3696
+ }];
3697
+ readonly "arrow-body-style": readonly ["error", "as-needed", {
3698
+ readonly requireReturnForObjectLiteral: true;
3699
+ }];
3700
+ readonly "block-scoped-var": "error";
3701
+ readonly camelcase: "off";
3702
+ readonly "capitalized-comments": "off";
3703
+ readonly "class-methods-use-this": "off";
3704
+ readonly complexity: "off";
3705
+ readonly "consistent-return": readonly ["error", {
3706
+ readonly treatUndefinedAsUnspecified: false;
3707
+ }];
3708
+ readonly "consistent-this": "error";
3709
+ readonly curly: readonly ["error", "multi"];
3710
+ readonly "default-case": "off";
3711
+ readonly "default-case-last": "error";
3712
+ readonly "default-param-last": "error";
3713
+ readonly "dot-notation": readonly ["error", {
3714
+ readonly allowKeywords: true;
3715
+ }];
3716
+ readonly eqeqeq: readonly ["error", "always"];
3717
+ readonly "func-name-matching": "off";
3718
+ readonly "func-names": "off";
3719
+ readonly "func-style": "off";
3720
+ readonly "grouped-accessor-pairs": "off";
3721
+ readonly "guard-for-in": "off";
3722
+ readonly "id-denylist": "off";
3723
+ readonly "id-length": "off";
3724
+ readonly "id-match": "off";
3725
+ readonly "init-declarations": readonly ["error", "always"];
3726
+ readonly "logical-assignment-operators": readonly ["error", "always", {
3727
+ readonly enforceForIfStatements: true;
3728
+ }];
3729
+ readonly "max-classes-per-file": "off";
3730
+ readonly "max-depth": "off";
3731
+ readonly "max-lines": "off";
3732
+ readonly "max-lines-per-function": "off";
3733
+ readonly "max-nested-callbacks": "off";
3734
+ readonly "max-params": "off";
3735
+ readonly "max-statements": "off";
3736
+ readonly "multiline-comment-style": "off";
3737
+ readonly "new-cap": "off";
3738
+ readonly "no-alert": "error";
3739
+ readonly "no-array-constructor": "error";
3740
+ readonly "no-bitwise": readonly ["error", {
3741
+ readonly allow: readonly [];
3742
+ readonly int32Hint: true;
3743
+ }];
3744
+ readonly "no-caller": "error";
3745
+ readonly "no-case-declarations": "error";
3746
+ readonly "no-console": "off";
3747
+ readonly "no-continue": "error";
3748
+ readonly "no-delete-var": "error";
3749
+ readonly "no-div-regex": "error";
3750
+ readonly "no-else-return": "off";
3751
+ readonly "no-empty": readonly ["error", {
3752
+ readonly allowEmptyCatch: false;
3753
+ }];
3754
+ readonly "no-empty-function": readonly ["error", {
3755
+ readonly allow: readonly ["constructors"];
3756
+ }];
3757
+ readonly "no-empty-static-block": "error";
3758
+ readonly "no-eq-null": "error";
3759
+ readonly "no-eval": readonly ["error", {
3760
+ readonly allowIndirect: false;
3761
+ }];
3762
+ readonly "no-extend-native": readonly ["error", {
3763
+ readonly exceptions: readonly [];
3764
+ }];
3765
+ readonly "no-extra-bind": "error";
3766
+ readonly "no-extra-boolean-cast": readonly ["error", {
3767
+ readonly enforceForLogicalOperands: true;
3768
+ }];
3769
+ readonly "no-extra-label": "error";
3770
+ readonly "no-global-assign": readonly ["error", {
3771
+ readonly exceptions: readonly [];
3772
+ }];
3773
+ readonly "no-implicit-coercion": readonly ["error", {
3774
+ readonly boolean: true;
3775
+ readonly number: true;
3776
+ readonly string: true;
3777
+ readonly disallowTemplateShorthand: true;
3778
+ readonly allow: readonly [];
3779
+ }];
3780
+ readonly "no-implicit-globals": "off";
3781
+ readonly "no-implied-eval": "error";
3782
+ readonly "no-inline-comments": "off";
3783
+ readonly "no-invalid-this": readonly ["error", {
3784
+ readonly capIsConstructor: false;
3785
+ }];
3786
+ readonly "no-iterator": "error";
3787
+ readonly "no-label-var": "error";
3788
+ readonly "no-lone-blocks": "error";
3789
+ readonly "no-lonely-if": "off";
3790
+ readonly "no-loop-func": "error";
3791
+ readonly "no-magic-numbers": "off";
3792
+ readonly "no-multi-assign": readonly ["error", {
3793
+ readonly ignoreNonDeclaration: false;
3794
+ }];
3795
+ readonly "no-multi-str": "error";
3796
+ readonly "no-negated-condition": "off";
3797
+ readonly "no-nested-ternary": "off";
3798
+ readonly "no-new": "error";
3799
+ readonly "no-new-func": "error";
3800
+ readonly "no-new-wrappers": "error";
3801
+ readonly "no-nonoctal-decimal-escape": "error";
3802
+ readonly "no-object-constructor": "error";
3803
+ readonly "no-octal": "error";
3804
+ readonly "no-octal-escape": "error";
3805
+ readonly "no-param-reassign": readonly ["error", {
3806
+ readonly props: true;
3807
+ readonly ignorePropertyModificationsFor: readonly [];
3808
+ readonly ignorePropertyModificationsForRegex: readonly [];
3809
+ }];
3810
+ readonly "no-plusplus": readonly ["error", {
3811
+ readonly allowForLoopAfterthoughts: true;
3812
+ }];
3813
+ readonly "no-proto": "error";
3814
+ readonly "no-redeclare": readonly ["error", {
3815
+ readonly builtinGlobals: true;
3816
+ }];
3817
+ readonly "no-regex-spaces": "off";
3818
+ readonly "no-restricted-exports": "off";
3819
+ readonly "no-restricted-globals": "off";
3820
+ readonly "no-restricted-imports": "off";
3821
+ readonly "no-restricted-properties": "off";
3822
+ readonly "no-restricted-syntax": "off";
3823
+ readonly "no-return-assign": readonly ["error", "always"];
3824
+ readonly "no-script-url": "error";
3825
+ readonly "no-sequences": readonly ["error", {
3826
+ readonly allowInParentheses: true;
3827
+ }];
3828
+ readonly "no-shadow": "off";
3829
+ readonly "no-shadow-restricted-names": "error";
3830
+ readonly "no-ternary": "off";
3831
+ readonly "no-throw-literal": "error";
3832
+ readonly "no-undef-init": "error";
3833
+ readonly "no-undefined": "off";
3834
+ readonly "no-underscore-dangle": "off";
3835
+ readonly "no-unneeded-ternary": readonly ["error", {
3836
+ readonly defaultAssignment: false;
3837
+ }];
3838
+ readonly "no-unused-expressions": readonly ["error", {
3839
+ readonly allowShortCircuit: true;
3840
+ readonly allowTernary: true;
3841
+ readonly allowTaggedTemplates: true;
3842
+ readonly enforceForJSX: false;
3843
+ }];
3844
+ readonly "no-unused-labels": "error";
3845
+ readonly "no-useless-call": "error";
3846
+ readonly "no-useless-catch": "error";
3847
+ readonly "no-useless-computed-key": readonly ["error", {
3848
+ readonly enforceForClassMembers: true;
3849
+ }];
3850
+ readonly "no-useless-concat": "error";
3851
+ readonly "no-useless-constructor": "error";
3852
+ readonly "no-useless-escape": "error";
3853
+ readonly "no-useless-rename": readonly ["error", {
3854
+ readonly ignoreImport: false;
3855
+ readonly ignoreExport: false;
3856
+ readonly ignoreDestructuring: false;
3857
+ }];
3858
+ readonly "no-useless-return": "error";
3859
+ readonly "no-var": "error";
3860
+ readonly "no-void": readonly ["error", {
3861
+ readonly allowAsStatement: true;
3862
+ }];
3863
+ readonly "no-warning-comments": "off";
3864
+ readonly "no-with": "error";
3865
+ readonly "object-shorthand": readonly ["error", "always", {
3866
+ readonly avoidQuotes: true;
3867
+ readonly ignoreConstructors: false;
3868
+ readonly avoidExplicitReturnArrows: false;
3869
+ }];
3870
+ readonly "one-var": readonly ["error", {
3871
+ readonly var: "consecutive";
3872
+ readonly let: "consecutive";
3873
+ readonly const: "consecutive";
3874
+ readonly separateRequires: true;
3875
+ }];
3876
+ readonly "operator-assignment": readonly ["error", "always"];
3877
+ readonly "prefer-arrow-callback": readonly ["error", {
3878
+ readonly allowNamedFunctions: false;
3879
+ readonly allowUnboundThis: true;
3880
+ }];
3881
+ readonly "prefer-const": readonly ["error", {
3882
+ readonly destructuring: "all";
3883
+ readonly ignoreReadBeforeAssign: false;
3884
+ }];
3885
+ readonly "prefer-destructuring": readonly ["error", {
3886
+ readonly VariableDeclarator: {
3887
+ readonly array: true;
3888
+ readonly object: true;
3889
+ };
3890
+ readonly AssignmentExpression: {
3891
+ readonly array: false;
3892
+ readonly object: false;
3893
+ };
3894
+ }, {
3895
+ readonly enforceForRenamedProperties: true;
3896
+ }];
3897
+ readonly "prefer-exponentiation-operator": "error";
3898
+ readonly "prefer-named-capture-group": "off";
3899
+ readonly "prefer-numeric-literals": "error";
3900
+ readonly "prefer-object-has-own": "error";
3901
+ readonly "prefer-object-spread": "error";
3902
+ readonly "prefer-promise-reject-errors": readonly ["error", {
3903
+ readonly allowEmptyReject: false;
3904
+ }];
3905
+ readonly "prefer-regex-literals": readonly ["error", {
3906
+ readonly disallowRedundantWrapping: true;
3907
+ }];
3908
+ readonly "prefer-rest-params": "error";
3909
+ readonly "prefer-spread": "error";
3910
+ readonly "prefer-template": "error";
3911
+ readonly radix: readonly ["error", "as-needed"];
3912
+ readonly "require-await": "error";
3913
+ readonly "require-unicode-regexp": "error";
3914
+ readonly "require-yield": "error";
3915
+ readonly "sort-imports": "off";
3916
+ readonly "sort-keys": "off";
3917
+ readonly "sort-vars": "off";
3918
+ readonly strict: "off";
3919
+ readonly "symbol-description": "off";
3920
+ readonly "vars-on-top": "error";
3921
+ readonly yoda: readonly ["error", "never", {
3922
+ readonly exceptRange: false;
3923
+ readonly onlyEquality: false;
3924
+ }];
3925
+ readonly "unicode-bom": "off";
3926
+ }] | readonly ["disable", {
3927
+ readonly "constructor-super": "off";
3928
+ readonly "no-const-assign": "off";
3929
+ readonly "no-dupe-args": "off";
3930
+ readonly "no-dupe-class-members": "off";
3931
+ readonly "no-dupe-keys": "off";
3932
+ readonly "no-func-assign": "off";
3933
+ readonly "no-obj-calls": "off";
3934
+ readonly "no-setter-return": "off";
3935
+ readonly "no-this-before-super": "off";
3936
+ readonly "no-undef": "off";
3937
+ readonly "no-unreachable": "off";
3938
+ readonly "no-unsafe-negation": "off";
3939
+ readonly "consistent-return": "off";
3940
+ readonly "no-redeclare": "off";
3941
+ }] | readonly ["disable-extend", {
3942
+ readonly "class-methods-use-this": "off";
3943
+ readonly "consistent-return": "off";
3944
+ readonly "default-param-last": "off";
3945
+ readonly "dot-notation": "off";
3946
+ readonly "init-declarations": "off";
3947
+ readonly "max-params": "off";
3948
+ readonly "no-array-constructor": "off";
3949
+ readonly "no-dupe-class-members": "off";
3950
+ readonly "no-empty-function": "off";
3951
+ readonly "no-implied-eval": "off";
3952
+ readonly "no-invalid-this": "off";
3953
+ readonly "no-loop-func": "off";
3954
+ readonly "no-magic-numbers": "off";
3955
+ readonly "no-redeclare": "off";
3956
+ readonly "no-restricted-imports": "off";
3957
+ readonly "no-shadow": "off";
3958
+ readonly "no-throw-literal": "off";
3959
+ readonly "no-unused-expressions": "off";
3960
+ readonly "no-unused-vars": "off";
3961
+ readonly "no-use-before-define": "off";
3962
+ readonly "no-useless-constructor": "off";
3963
+ readonly "prefer-destructuring": "off";
3964
+ readonly "prefer-promise-reject-errors": "off";
3965
+ readonly "require-await": "off";
3966
+ }] | readonly ["enable-extend", {
3967
+ readonly "@typescript-eslint/class-methods-use-this": "off";
3968
+ readonly "@typescript-eslint/consistent-return": "off";
3969
+ readonly "@typescript-eslint/default-param-last": "error";
3970
+ readonly "@typescript-eslint/dot-notation": readonly ["error", {
3971
+ readonly allowKeywords: true;
3972
+ readonly allowPrivateClassPropertyAccess: true;
3973
+ readonly allowProtectedClassPropertyAccess: true;
3974
+ readonly allowIndexSignaturePropertyAccess: true;
3975
+ }];
3976
+ readonly "@typescript-eslint/init-declarations": readonly ["error", "always"];
3977
+ readonly "@typescript-eslint/max-params": "off";
3978
+ readonly "@typescript-eslint/no-array-constructor": "error";
3979
+ readonly "@typescript-eslint/no-dupe-class-members": "off";
3980
+ readonly "@typescript-eslint/no-empty-function": readonly ["error", {
3981
+ readonly allow: readonly ["constructors", "private-constructors", "protected-constructors", "decoratedFunctions"];
3982
+ }];
3983
+ readonly "@typescript-eslint/no-implied-eval": "error";
3984
+ readonly "@typescript-eslint/no-invalid-this": "off";
3985
+ readonly "@typescript-eslint/no-loop-func": "error";
3986
+ readonly "@typescript-eslint/no-magic-numbers": "off";
3987
+ readonly "@typescript-eslint/no-redeclare": "off";
3988
+ readonly "@typescript-eslint/no-restricted-imports": "off";
3989
+ readonly "@typescript-eslint/no-shadow": "off";
3990
+ readonly "@typescript-eslint/no-unused-expressions": readonly ["error", {
3991
+ readonly allowShortCircuit: true;
3992
+ readonly allowTernary: true;
3993
+ readonly allowTaggedTemplates: true;
3994
+ readonly enforceForJSX: false;
3995
+ }];
3996
+ readonly "@typescript-eslint/no-unused-vars": readonly ["error", {
3997
+ readonly vars: "all";
3998
+ readonly args: "all";
3999
+ readonly caughtErrors: "all";
4000
+ readonly ignoreRestSiblings: false;
4001
+ readonly ignoreClassWithStaticInitBlock: false;
4002
+ readonly reportUsedIgnorePattern: true;
4003
+ }];
4004
+ readonly "@typescript-eslint/no-use-before-define": readonly ["error", {
4005
+ readonly functions: true;
4006
+ readonly classes: true;
4007
+ readonly variables: true;
4008
+ readonly allowNamedExports: false;
4009
+ readonly enums: true;
4010
+ readonly typedefs: false;
4011
+ readonly ignoreTypeReferences: true;
4012
+ }];
4013
+ readonly "@typescript-eslint/no-useless-constructor": "error";
4014
+ readonly "@typescript-eslint/only-throw-error": readonly ["error", {
4015
+ readonly allowThrowingAny: false;
4016
+ readonly allowThrowingUnknown: false;
4017
+ }];
4018
+ readonly "@typescript-eslint/prefer-destructuring": readonly ["error", {
4019
+ readonly VariableDeclarator: {
4020
+ readonly array: true;
4021
+ readonly object: true;
4022
+ };
4023
+ readonly AssignmentExpression: {
4024
+ readonly array: false;
4025
+ readonly object: false;
4026
+ };
4027
+ }, {
4028
+ readonly enforceForRenamedProperties: false;
4029
+ readonly enforceForDeclarationWithTypeAnnotation: false;
4030
+ }];
4031
+ readonly "@typescript-eslint/prefer-promise-reject-errors": readonly ["error", {
4032
+ readonly allowEmptyReject: false;
4033
+ }];
4034
+ readonly "@typescript-eslint/require-await": "error";
4035
+ }] | readonly ["enable", {
4036
+ readonly "@typescript-eslint/adjacent-overload-signatures": "off";
4037
+ readonly "@typescript-eslint/array-type": readonly ["error", {
4038
+ readonly default: "array";
4039
+ readonly readonly: "array";
4040
+ }];
4041
+ readonly "@typescript-eslint/await-thenable": "error";
4042
+ readonly "@typescript-eslint/ban-ts-comment": readonly ["error", {
4043
+ readonly "ts-check": false;
4044
+ readonly "ts-expect-error": {
4045
+ readonly descriptionFormat: "^: BUG: .+$";
4046
+ };
4047
+ readonly "ts-ignore": true;
4048
+ readonly "ts-nocheck": true;
4049
+ readonly minimumDescriptionLength: 32;
4050
+ }];
4051
+ readonly "@typescript-eslint/ban-tslint-comment": "error";
4052
+ readonly "@typescript-eslint/class-literal-property-style": readonly ["error", "fields"];
4053
+ readonly "@typescript-eslint/consistent-generic-constructors": readonly ["error", "constructor"];
4054
+ readonly "@typescript-eslint/consistent-indexed-object-style": readonly ["error", "record"];
4055
+ readonly "@typescript-eslint/consistent-type-assertions": readonly ["error", {
4056
+ readonly assertionStyle: "as";
4057
+ readonly objectLiteralTypeAssertions: "never";
4058
+ }];
4059
+ readonly "@typescript-eslint/consistent-type-definitions": "off";
4060
+ readonly "@typescript-eslint/consistent-type-exports": readonly ["error", {
4061
+ readonly fixMixedExportsWithInlineTypeSpecifier: false;
4062
+ }];
4063
+ readonly "@typescript-eslint/consistent-type-imports": readonly ["error", {
4064
+ readonly disallowTypeAnnotations: true;
4065
+ readonly fixStyle: "separate-type-imports";
4066
+ readonly prefer: "type-imports";
4067
+ }];
4068
+ readonly "@typescript-eslint/explicit-function-return-type": "off";
4069
+ readonly "@typescript-eslint/explicit-member-accessibility": readonly ["error", {
4070
+ readonly accessibility: "explicit";
4071
+ readonly ignoredMethodNames: readonly [];
4072
+ readonly overrides: {
4073
+ readonly properties: "explicit";
4074
+ readonly constructors: "no-public";
4075
+ readonly accessors: "explicit";
4076
+ readonly methods: "explicit";
4077
+ readonly parameterProperties: "explicit";
4078
+ };
4079
+ }];
4080
+ readonly "@typescript-eslint/explicit-module-boundary-types": "off";
4081
+ readonly "@typescript-eslint/member-ordering": readonly ["error", {
4082
+ readonly default: {
4083
+ 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"];
4084
+ readonly optionalityOrder: "required-first";
4085
+ readonly order: "as-written";
4086
+ };
4087
+ }];
4088
+ readonly "@typescript-eslint/method-signature-style": readonly ["error", "property"];
4089
+ readonly "@typescript-eslint/naming-convention": "off";
4090
+ readonly "@typescript-eslint/no-array-delete": "error";
4091
+ readonly "@typescript-eslint/no-base-to-string": readonly ["error", {
4092
+ readonly ignoredTypeNames: readonly ["Error", "RegExp", "URL", "URLSearchParams"];
4093
+ }];
4094
+ readonly "@typescript-eslint/no-confusing-non-null-assertion": "error";
4095
+ readonly "@typescript-eslint/no-confusing-void-expression": readonly ["error", {
4096
+ readonly ignoreArrowShorthand: true;
4097
+ readonly ignoreVoidOperator: true;
4098
+ }];
4099
+ readonly "@typescript-eslint/no-duplicate-enum-values": "error";
4100
+ readonly "@typescript-eslint/no-duplicate-type-constituents": readonly ["error", {
4101
+ readonly ignoreIntersections: false;
4102
+ readonly ignoreUnions: false;
4103
+ }];
4104
+ readonly "@typescript-eslint/no-dynamic-delete": "error";
4105
+ readonly "@typescript-eslint/no-empty-object-type": readonly ["error", {
4106
+ readonly allowInterfaces: "never";
4107
+ readonly allowObjectTypes: "never";
4108
+ }];
4109
+ readonly "@typescript-eslint/no-explicit-any": readonly ["error", {
4110
+ readonly fixToUnknown: true;
4111
+ readonly ignoreRestArgs: false;
4112
+ }];
4113
+ readonly "@typescript-eslint/no-extra-non-null-assertion": "error";
4114
+ readonly "@typescript-eslint/no-extraneous-class": readonly ["error", {
4115
+ readonly allowConstructorOnly: false;
4116
+ readonly allowEmpty: true;
4117
+ readonly allowStaticOnly: false;
4118
+ readonly allowWithDecorator: false;
4119
+ }];
4120
+ readonly "@typescript-eslint/no-floating-promises": readonly ["error", {
4121
+ readonly checkThenables: true;
4122
+ readonly ignoreVoid: true;
4123
+ readonly ignoreIIFE: false;
4124
+ }];
4125
+ readonly "@typescript-eslint/no-for-in-array": "error";
4126
+ readonly "@typescript-eslint/no-import-type-side-effects": "error";
4127
+ readonly "@typescript-eslint/no-inferrable-types": readonly ["error", {
4128
+ readonly ignoreParameters: false;
4129
+ readonly ignoreProperties: false;
4130
+ }];
4131
+ readonly "@typescript-eslint/no-invalid-void-type": readonly ["error", {
4132
+ readonly allowInGenericTypeArguments: true;
4133
+ readonly allowAsThisParameter: false;
4134
+ }];
4135
+ readonly "@typescript-eslint/no-meaningless-void-operator": readonly ["error", {
4136
+ readonly checkNever: true;
4137
+ }];
4138
+ readonly "@typescript-eslint/no-misused-new": "error";
4139
+ readonly "@typescript-eslint/no-misused-promises": readonly ["error", {
4140
+ readonly checksConditionals: true;
4141
+ readonly checksSpreads: true;
4142
+ readonly checksVoidReturn: {
4143
+ readonly arguments: true;
4144
+ readonly attributes: true;
4145
+ readonly properties: true;
4146
+ readonly returns: true;
4147
+ readonly variables: true;
4148
+ };
4149
+ }];
4150
+ readonly "@typescript-eslint/no-mixed-enums": "error";
4151
+ readonly "@typescript-eslint/no-namespace": "off";
4152
+ readonly "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error";
4153
+ readonly "@typescript-eslint/no-non-null-asserted-optional-chain": "error";
4154
+ readonly "@typescript-eslint/no-non-null-assertion": "error";
4155
+ readonly "@typescript-eslint/no-redundant-type-constituents": "error";
4156
+ readonly "@typescript-eslint/no-restricted-types": "off";
4157
+ readonly "@typescript-eslint/no-require-imports": readonly ["error", {
4158
+ readonly allow: readonly [];
4159
+ }];
4160
+ readonly "@typescript-eslint/no-this-alias": readonly ["error", {
4161
+ readonly allowDestructuring: true;
4162
+ readonly allowedNames: readonly [];
4163
+ }];
4164
+ readonly "@typescript-eslint/no-unnecessary-boolean-literal-compare": readonly ["error", {
4165
+ readonly allowComparingNullableBooleansToTrue: true;
4166
+ readonly allowComparingNullableBooleansToFalse: true;
4167
+ }];
4168
+ readonly "@typescript-eslint/no-unnecessary-condition": readonly ["error", {
4169
+ readonly allowConstantLoopConditions: false;
4170
+ readonly allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false;
4171
+ }];
4172
+ readonly "@typescript-eslint/no-unnecessary-qualifier": "error";
4173
+ readonly "@typescript-eslint/no-unnecessary-template-expression": "error";
4174
+ readonly "@typescript-eslint/no-unnecessary-type-arguments": "error";
4175
+ readonly "@typescript-eslint/no-unnecessary-type-assertion": readonly ["error", {
4176
+ readonly typesToIgnore: readonly [];
4177
+ }];
4178
+ readonly "@typescript-eslint/no-unnecessary-type-constraint": "error";
4179
+ readonly "@typescript-eslint/no-unnecessary-type-parameters": "error";
4180
+ readonly "@typescript-eslint/no-unsafe-argument": "error";
4181
+ readonly "@typescript-eslint/no-unsafe-assignment": "error";
4182
+ readonly "@typescript-eslint/no-unsafe-call": "error";
4183
+ readonly "@typescript-eslint/no-unsafe-declaration-merging": "error";
4184
+ readonly "@typescript-eslint/no-unsafe-enum-comparison": "error";
4185
+ readonly "@typescript-eslint/no-unsafe-function-type": "error";
4186
+ readonly "@typescript-eslint/no-unsafe-member-access": "error";
4187
+ readonly "@typescript-eslint/no-unsafe-return": "error";
4188
+ readonly "@typescript-eslint/no-unsafe-unary-minus": "error";
4189
+ readonly "@typescript-eslint/no-useless-empty-export": "error";
4190
+ readonly "@typescript-eslint/no-wrapper-object-types": "error";
4191
+ readonly "@typescript-eslint/non-nullable-type-assertion-style": "off";
4192
+ readonly "@typescript-eslint/parameter-properties": readonly ["error", {
4193
+ readonly prefer: "parameter-property";
4194
+ }];
4195
+ readonly "@typescript-eslint/prefer-as-const": "error";
4196
+ readonly "@typescript-eslint/prefer-enum-initializers": "error";
4197
+ readonly "@typescript-eslint/prefer-find": "error";
4198
+ readonly "@typescript-eslint/prefer-for-of": "error";
4199
+ readonly "@typescript-eslint/prefer-function-type": "error";
4200
+ readonly "@typescript-eslint/prefer-includes": "error";
4201
+ readonly "@typescript-eslint/prefer-literal-enum-member": readonly ["error", {
4202
+ readonly allowBitwiseExpressions: false;
4203
+ }];
4204
+ readonly "@typescript-eslint/prefer-namespace-keyword": "error";
4205
+ readonly "@typescript-eslint/prefer-nullish-coalescing": readonly ["error", {
4206
+ readonly allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false;
4207
+ readonly ignoreConditionalTests: false;
4208
+ readonly ignoreTernaryTests: false;
4209
+ readonly ignoreMixedLogicalExpressions: false;
4210
+ readonly ignorePrimitives: {
4211
+ readonly bigint: false;
4212
+ readonly boolean: false;
4213
+ readonly number: false;
4214
+ readonly string: false;
4215
+ };
4216
+ }];
4217
+ readonly "@typescript-eslint/prefer-optional-chain": readonly ["error", {
4218
+ readonly allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing: false;
4219
+ readonly checkAny: true;
4220
+ readonly checkBigInt: true;
4221
+ readonly checkBoolean: true;
4222
+ readonly checkNumber: true;
4223
+ readonly checkString: true;
4224
+ readonly checkUnknown: true;
4225
+ readonly requireNullish: false;
4226
+ }];
4227
+ readonly "@typescript-eslint/prefer-readonly": readonly ["error", {
4228
+ readonly onlyInlineLambdas: false;
4229
+ }];
4230
+ readonly "@typescript-eslint/prefer-readonly-parameter-types": "off";
4231
+ readonly "@typescript-eslint/prefer-reduce-type-parameter": "error";
4232
+ readonly "@typescript-eslint/prefer-regexp-exec": "error";
4233
+ readonly "@typescript-eslint/prefer-return-this-type": "error";
4234
+ readonly "@typescript-eslint/prefer-string-starts-ends-with": readonly ["error", {
4235
+ readonly allowSingleElementEquality: "never";
4236
+ }];
4237
+ readonly "@typescript-eslint/promise-function-async": readonly ["error", {
4238
+ readonly allowAny: false;
4239
+ readonly allowedPromiseNames: readonly [];
4240
+ readonly checkArrowFunctions: true;
4241
+ readonly checkFunctionDeclarations: true;
4242
+ readonly checkFunctionExpressions: true;
4243
+ readonly checkMethodDeclarations: true;
4244
+ }];
4245
+ readonly "@typescript-eslint/require-array-sort-compare": readonly ["error", {
4246
+ readonly ignoreStringArrays: true;
4247
+ }];
4248
+ readonly "@typescript-eslint/restrict-plus-operands": readonly ["error", {
4249
+ readonly allowAny: false;
4250
+ readonly allowBoolean: false;
4251
+ readonly allowNullish: false;
4252
+ readonly allowNumberAndString: false;
4253
+ readonly allowRegExp: false;
4254
+ readonly skipCompoundAssignments: false;
4255
+ }];
4256
+ readonly "@typescript-eslint/restrict-template-expressions": readonly ["error", {
4257
+ readonly allowAny: true;
4258
+ readonly allowArray: true;
4259
+ readonly allowBoolean: true;
4260
+ readonly allowNullish: false;
4261
+ readonly allowNumber: true;
4262
+ readonly allowNever: false;
4263
+ readonly allowRegExp: false;
4264
+ }];
4265
+ readonly "@typescript-eslint/return-await": readonly ["error", "in-try-catch"];
4266
+ readonly "@typescript-eslint/strict-boolean-expressions": readonly ["error", {
4267
+ readonly allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false;
4268
+ readonly allowAny: false;
4269
+ readonly allowNumber: true;
4270
+ readonly allowString: false;
4271
+ readonly allowNullableBoolean: false;
4272
+ readonly allowNullableEnum: false;
4273
+ readonly allowNullableNumber: false;
4274
+ readonly allowNullableObject: false;
4275
+ readonly allowNullableString: false;
4276
+ }];
4277
+ readonly "@typescript-eslint/switch-exhaustiveness-check": readonly ["error", {
4278
+ readonly allowDefaultCaseForExhaustiveSwitch: false;
4279
+ readonly requireDefaultForNonUnion: true;
4280
+ }];
4281
+ readonly "@typescript-eslint/triple-slash-reference": readonly ["error", {
4282
+ readonly lib: "never";
4283
+ readonly path: "never";
4284
+ readonly types: "never";
4285
+ }];
4286
+ readonly "@typescript-eslint/typedef": "off";
4287
+ readonly "@typescript-eslint/unbound-method": readonly ["error", {
4288
+ readonly ignoreStatic: false;
4289
+ }];
4290
+ readonly "@typescript-eslint/unified-signatures": readonly ["error", {
4291
+ readonly ignoreDifferentlyNamedParameters: false;
4292
+ }];
4293
+ readonly "@typescript-eslint/use-unknown-in-catch-callback-variable": "error";
4294
+ }] | readonly ["disable", {
4295
+ readonly "prefer-arrow-callback": "off";
4296
+ }] | readonly ["enable", {
4297
+ readonly "mocha/consistent-spacing-between-blocks": "off";
4298
+ readonly "mocha/handle-done-callback": readonly ["error", {
4299
+ readonly ignoreSkipped: false;
4300
+ }];
4301
+ readonly "mocha/max-top-level-suites": readonly ["error", {
4302
+ readonly limit: 1;
4303
+ }];
4304
+ readonly "mocha/no-async-describe": "error";
4305
+ readonly "mocha/no-empty-description": "error";
4306
+ readonly "mocha/no-exclusive-tests": "error";
4307
+ readonly "mocha/no-exports": "error";
4308
+ readonly "mocha/no-global-tests": "error";
4309
+ readonly "mocha/no-hooks-for-single-case": "off";
4310
+ readonly "mocha/no-hooks": "off";
4311
+ readonly "mocha/no-identical-title": "error";
4312
+ readonly "mocha/no-mocha-arrows": "error";
4313
+ readonly "mocha/no-nested-tests": "error";
4314
+ readonly "mocha/no-pending-tests": "warn";
4315
+ readonly "mocha/no-return-and-callback": "error";
4316
+ readonly "mocha/no-return-from-async": "error";
4317
+ readonly "mocha/no-setup-in-describe": "error";
4318
+ readonly "mocha/no-sibling-hooks": "error";
4319
+ readonly "mocha/no-skipped-tests": "error";
4320
+ readonly "mocha/no-synchronous-tests": "off";
4321
+ readonly "mocha/no-top-level-hooks": "error";
4322
+ readonly "mocha/prefer-arrow-callback": readonly ["error", {
4323
+ readonly allowNamedFunctions: false;
4324
+ readonly allowUnboundThis: true;
4325
+ }];
4326
+ readonly "mocha/valid-suite-description": "off";
4327
+ readonly "mocha/valid-test-description": "off";
4328
+ }])[];
3693
4329
  html: (readonly ["enable", Partial<Record<"@html-eslint/require-lang" | "@html-eslint/require-img-alt" | "@html-eslint/require-doctype" | "@html-eslint/require-title" | "@html-eslint/no-duplicate-id" | "@html-eslint/no-inline-styles" | "@html-eslint/no-multiple-h1" | "@html-eslint/no-extra-spacing-attrs" | "@html-eslint/no-extra-spacing-text" | "@html-eslint/attrs-newline" | "@html-eslint/element-newline" | "@html-eslint/no-skip-heading-levels" | "@html-eslint/require-li-container" | "@html-eslint/indent" | "@html-eslint/quotes" | "@html-eslint/id-naming-convention" | "@html-eslint/no-obsolete-tags" | "@html-eslint/require-attrs" | "@html-eslint/require-closing-tags" | "@html-eslint/require-meta-description" | "@html-eslint/require-frame-title" | "@html-eslint/no-non-scalable-viewport" | "@html-eslint/no-positive-tabindex" | "@html-eslint/require-meta-viewport" | "@html-eslint/require-meta-charset" | "@html-eslint/no-target-blank" | "@html-eslint/no-duplicate-attrs" | "@html-eslint/no-abstract-roles" | "@html-eslint/require-button-type" | "@html-eslint/no-aria-hidden-body" | "@html-eslint/no-multiple-empty-lines" | "@html-eslint/no-accesskey-attrs" | "@html-eslint/no-restricted-attrs" | "@html-eslint/no-trailing-spaces" | "@html-eslint/no-restricted-attr-values" | "@html-eslint/no-script-style-type" | "@html-eslint/lowercase" | "@html-eslint/require-open-graph-protocol" | "@html-eslint/sort-attrs", unknown>>])[];
3694
4330
  json: (readonly ["enable-extend", {
3695
4331
  readonly "jsonc/array-bracket-newline": "off";