linted 21.0.0-rc.10 → 21.0.0-rc.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. package/dist/index.d.ts.map +1 -1
  2. package/dist/index.js +8 -2
  3. package/dist/index.js.map +1 -1
  4. package/dist/rules/index.d.ts +690 -0
  5. package/dist/rules/index.d.ts.map +1 -1
  6. package/dist/rules/js/enable.d.ts.map +1 -1
  7. package/dist/rules/js/enable.js +1 -2
  8. package/dist/rules/js/enable.js.map +1 -1
  9. package/dist/rules/js/index.d.ts.map +1 -1
  10. package/dist/rules/js/index.js +4 -1
  11. package/dist/rules/js/index.js.map +1 -1
  12. package/dist/rules/js/stylistic.d.ts.map +1 -1
  13. package/dist/rules/js/stylistic.js +1 -2
  14. package/dist/rules/js/stylistic.js.map +1 -1
  15. package/dist/rules/json/enable.d.ts +133 -2
  16. package/dist/rules/json/enable.d.ts.map +1 -1
  17. package/dist/rules/json/enable.js +170 -4
  18. package/dist/rules/json/enable.js.map +1 -1
  19. package/dist/rules/json/enable_x.d.ts +6 -0
  20. package/dist/rules/json/enable_x.d.ts.map +1 -0
  21. package/dist/rules/json/enable_x.js +9 -0
  22. package/dist/rules/json/enable_x.js.map +1 -0
  23. package/dist/rules/json/index.d.ts +345 -0
  24. package/dist/rules/json/index.d.ts.map +1 -1
  25. package/dist/rules/json/index.js +6 -2
  26. package/dist/rules/json/index.js.map +1 -1
  27. package/dist/rules/mocha/disable.d.ts.map +1 -1
  28. package/dist/rules/mocha/disable.js +1 -1
  29. package/dist/rules/mocha/disable.js.map +1 -1
  30. package/dist/rules/mocha/index.d.ts.map +1 -1
  31. package/dist/rules/mocha/index.js +4 -2
  32. package/dist/rules/mocha/index.js.map +1 -1
  33. package/dist/rules/svelte/disable.d.ts.map +1 -1
  34. package/dist/rules/svelte/disable.js +1 -1
  35. package/dist/rules/svelte/disable.js.map +1 -1
  36. package/dist/rules/svelte/enable.d.ts.map +1 -1
  37. package/dist/rules/svelte/enable.js +1 -2
  38. package/dist/rules/svelte/enable.js.map +1 -1
  39. package/dist/rules/svelte/enable_x.d.ts.map +1 -1
  40. package/dist/rules/svelte/enable_x.js +1 -2
  41. package/dist/rules/svelte/enable_x.js.map +1 -1
  42. package/dist/rules/ts/disable.d.ts.map +1 -1
  43. package/dist/rules/ts/disable.js +1 -1
  44. package/dist/rules/ts/disable.js.map +1 -1
  45. package/dist/rules/ts/disable_x.d.ts.map +1 -1
  46. package/dist/rules/ts/disable_x.js +1 -1
  47. package/dist/rules/ts/disable_x.js.map +1 -1
  48. package/dist/rules/ts/enable.d.ts.map +1 -1
  49. package/dist/rules/ts/enable.js +1 -2
  50. package/dist/rules/ts/enable.js.map +1 -1
  51. package/dist/rules/ts/enable_x.d.ts.map +1 -1
  52. package/dist/rules/ts/enable_x.js +1 -2
  53. package/dist/rules/ts/enable_x.js.map +1 -1
  54. package/dist/rules/yml/enable.d.ts.map +1 -1
  55. package/dist/rules/yml/enable.js +1 -2
  56. package/dist/rules/yml/enable.js.map +1 -1
  57. package/dist/rules/yml/enable_x.d.ts.map +1 -1
  58. package/dist/rules/yml/enable_x.js +1 -2
  59. package/dist/rules/yml/enable_x.js.map +1 -1
  60. package/dist/rules/yml/index.d.ts.map +1 -1
  61. package/dist/rules/yml/index.js +4 -1
  62. package/dist/rules/yml/index.js.map +1 -1
  63. package/package.json +1 -1
  64. package/src/index.ts +8 -2
  65. package/src/rules/html/enable.ts +1 -1
  66. package/src/rules/js/enable.ts +5 -6
  67. package/src/rules/js/index.ts +4 -1
  68. package/src/rules/js/stylistic.ts +5 -6
  69. package/src/rules/json/enable.ts +179 -6
  70. package/src/rules/json/enable_x.ts +14 -0
  71. package/src/rules/json/index.ts +6 -2
  72. package/src/rules/mocha/disable.ts +4 -1
  73. package/src/rules/mocha/index.ts +4 -2
  74. package/src/rules/svelte/disable.ts +4 -1
  75. package/src/rules/svelte/enable.ts +5 -6
  76. package/src/rules/svelte/enable_x.ts +7 -5
  77. package/src/rules/ts/disable.ts +4 -1
  78. package/src/rules/ts/disable_x.ts +4 -1
  79. package/src/rules/ts/enable.ts +7 -5
  80. package/src/rules/ts/enable_x.ts +7 -5
  81. package/src/rules/yml/enable.ts +8 -5
  82. package/src/rules/yml/enable_x.ts +7 -5
  83. package/src/rules/yml/index.ts +4 -1
  84. package/dist/rules/mocha/base.d.ts +0 -37
  85. package/dist/rules/mocha/base.d.ts.map +0 -1
  86. package/dist/rules/mocha/base.js +0 -7
  87. package/dist/rules/mocha/base.js.map +0 -1
  88. package/dist/rules/mochaJs/index.d.ts +0 -800
  89. package/dist/rules/mochaJs/index.d.ts.map +0 -1
  90. package/dist/rules/mochaJs/index.js +0 -7
  91. package/dist/rules/mochaJs/index.js.map +0 -1
  92. package/src/rules/mocha/base.ts +0 -7
  93. package/src/rules/mochaJs/index.ts +0 -7
@@ -4338,10 +4338,700 @@ declare const _default: {
4338
4338
  }])[];
4339
4339
  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>>])[];
4340
4340
  json: (readonly ["enable", {
4341
+ readonly "array-callback-return": readonly ["error", {
4342
+ readonly allowImplicit: false;
4343
+ readonly checkForEach: true;
4344
+ readonly allowVoid: true;
4345
+ }];
4346
+ readonly "constructor-super": "error";
4347
+ readonly "for-direction": "error";
4348
+ readonly "getter-return": readonly ["error", {
4349
+ readonly allowImplicit: false;
4350
+ }];
4351
+ readonly "no-async-promise-executor": "error";
4352
+ readonly "no-await-in-loop": "error";
4353
+ readonly "no-class-assign": "error";
4354
+ readonly "no-compare-neg-zero": "error";
4355
+ readonly "no-cond-assign": readonly ["error", "always"];
4356
+ readonly "no-const-assign": "error";
4357
+ readonly "no-constant-binary-expression": "error";
4358
+ readonly "no-constant-condition": readonly ["error", {
4359
+ readonly checkLoops: true;
4360
+ }];
4361
+ readonly "no-constructor-return": "error";
4362
+ readonly "no-control-regex": "error";
4363
+ readonly "no-debugger": "error";
4364
+ readonly "no-dupe-args": "error";
4365
+ readonly "no-dupe-class-members": "error";
4366
+ readonly "no-dupe-else-if": "error";
4367
+ readonly "no-dupe-keys": "error";
4368
+ readonly "no-duplicate-case": "error";
4369
+ readonly "no-duplicate-imports": "off";
4370
+ readonly "no-empty-character-class": "error";
4371
+ readonly "no-empty-pattern": readonly ["error", {
4372
+ readonly allowObjectPatternsAsParameters: false;
4373
+ }];
4374
+ readonly "no-ex-assign": "error";
4375
+ readonly "no-fallthrough": readonly ["error", {
4376
+ readonly allowEmptyCase: true;
4377
+ readonly reportUnusedFallthroughComment: true;
4378
+ }];
4379
+ readonly "no-func-assign": "error";
4380
+ readonly "no-import-assign": "error";
4381
+ readonly "no-inner-declarations": readonly ["error", "both", {
4382
+ readonly blockScopedFunctions: "allow";
4383
+ }];
4384
+ readonly "no-invalid-regexp": readonly ["error", {
4385
+ readonly allowConstructorFlags: readonly [];
4386
+ }];
4387
+ readonly "no-irregular-whitespace": readonly ["error", {
4388
+ readonly skipStrings: true;
4389
+ readonly skipComments: true;
4390
+ readonly skipRegExps: true;
4391
+ readonly skipTemplates: true;
4392
+ readonly skipJSXText: true;
4393
+ }];
4394
+ readonly "no-loss-of-precision": "error";
4395
+ readonly "no-misleading-character-class": "error";
4396
+ readonly "no-new-native-nonconstructor": "error";
4397
+ readonly "no-obj-calls": "error";
4398
+ readonly "no-promise-executor-return": readonly ["error", {
4399
+ readonly allowVoid: true;
4400
+ }];
4401
+ readonly "no-prototype-builtins": "error";
4402
+ readonly "no-self-assign": readonly ["error", {
4403
+ readonly props: true;
4404
+ }];
4405
+ readonly "no-self-compare": "error";
4406
+ readonly "no-setter-return": "error";
4407
+ readonly "no-sparse-arrays": "error";
4408
+ readonly "no-template-curly-in-string": "error";
4409
+ readonly "no-this-before-super": "error";
4410
+ readonly "no-undef": "error";
4411
+ readonly "no-unexpected-multiline": "error";
4412
+ readonly "no-unmodified-loop-condition": "error";
4413
+ readonly "no-unreachable": "error";
4414
+ readonly "no-unreachable-loop": readonly ["error", {
4415
+ readonly ignore: readonly [];
4416
+ }];
4417
+ readonly "no-unsafe-finally": "error";
4418
+ readonly "no-unsafe-negation": readonly ["error", {
4419
+ readonly enforceForOrderingRelations: true;
4420
+ }];
4421
+ readonly "no-unsafe-optional-chaining": readonly ["error", {
4422
+ readonly disallowArithmeticOperators: true;
4423
+ }];
4424
+ readonly "no-unused-private-class-members": "error";
4425
+ readonly "no-unused-vars": readonly ["error", {
4426
+ readonly vars: "all";
4427
+ readonly args: "all";
4428
+ readonly caughtErrors: "all";
4429
+ readonly ignoreRestSiblings: false;
4430
+ readonly ignoreClassWithStaticInitBlock: false;
4431
+ readonly reportUsedIgnorePattern: true;
4432
+ }];
4433
+ readonly "no-use-before-define": readonly ["error", {
4434
+ readonly functions: true;
4435
+ readonly classes: true;
4436
+ readonly variables: true;
4437
+ readonly allowNamedExports: false;
4438
+ }];
4439
+ readonly "no-useless-assignment": "error";
4440
+ readonly "no-useless-backreference": "error";
4441
+ readonly "require-atomic-updates": readonly ["error", {
4442
+ readonly allowProperties: false;
4443
+ }];
4444
+ readonly "use-isnan": readonly ["error", {
4445
+ readonly enforceForSwitchCase: true;
4446
+ readonly enforceForIndexOf: true;
4447
+ }];
4448
+ readonly "valid-typeof": readonly ["error", {
4449
+ readonly requireStringLiterals: true;
4450
+ }];
4451
+ readonly "accessor-pairs": readonly ["error", {
4452
+ readonly setWithoutGet: true;
4453
+ readonly getWithoutSet: false;
4454
+ readonly enforceForClassMembers: true;
4455
+ }];
4456
+ readonly "arrow-body-style": readonly ["error", "as-needed", {
4457
+ readonly requireReturnForObjectLiteral: true;
4458
+ }];
4459
+ readonly "block-scoped-var": "error";
4460
+ readonly camelcase: "off";
4461
+ readonly "capitalized-comments": "off";
4462
+ readonly "class-methods-use-this": "off";
4463
+ readonly complexity: "off";
4464
+ readonly "consistent-return": readonly ["error", {
4465
+ readonly treatUndefinedAsUnspecified: false;
4466
+ }];
4467
+ readonly "consistent-this": "error";
4468
+ readonly curly: readonly ["error", "multi"];
4469
+ readonly "default-case": "off";
4470
+ readonly "default-case-last": "error";
4471
+ readonly "default-param-last": "error";
4472
+ readonly "dot-notation": readonly ["error", {
4473
+ readonly allowKeywords: true;
4474
+ }];
4475
+ readonly eqeqeq: readonly ["error", "always"];
4476
+ readonly "func-name-matching": "off";
4477
+ readonly "func-names": "off";
4478
+ readonly "func-style": "off";
4479
+ readonly "grouped-accessor-pairs": "off";
4480
+ readonly "guard-for-in": "off";
4481
+ readonly "id-denylist": "off";
4482
+ readonly "id-length": "off";
4483
+ readonly "id-match": "off";
4484
+ readonly "init-declarations": readonly ["error", "always"];
4485
+ readonly "logical-assignment-operators": readonly ["error", "always", {
4486
+ readonly enforceForIfStatements: true;
4487
+ }];
4488
+ readonly "max-classes-per-file": "off";
4489
+ readonly "max-depth": "off";
4490
+ readonly "max-lines": "off";
4491
+ readonly "max-lines-per-function": "off";
4492
+ readonly "max-nested-callbacks": "off";
4493
+ readonly "max-params": "off";
4494
+ readonly "max-statements": "off";
4495
+ readonly "multiline-comment-style": "off";
4496
+ readonly "new-cap": "off";
4497
+ readonly "no-alert": "error";
4498
+ readonly "no-array-constructor": "error";
4499
+ readonly "no-bitwise": readonly ["error", {
4500
+ readonly allow: readonly [];
4501
+ readonly int32Hint: true;
4502
+ }];
4503
+ readonly "no-caller": "error";
4504
+ readonly "no-case-declarations": "error";
4505
+ readonly "no-console": "off";
4506
+ readonly "no-continue": "error";
4507
+ readonly "no-delete-var": "error";
4508
+ readonly "no-div-regex": "error";
4509
+ readonly "no-else-return": "off";
4510
+ readonly "no-empty": readonly ["error", {
4511
+ readonly allowEmptyCatch: false;
4512
+ }];
4513
+ readonly "no-empty-function": readonly ["error", {
4514
+ readonly allow: readonly ["constructors"];
4515
+ }];
4516
+ readonly "no-empty-static-block": "error";
4517
+ readonly "no-eq-null": "error";
4518
+ readonly "no-eval": readonly ["error", {
4519
+ readonly allowIndirect: false;
4520
+ }];
4521
+ readonly "no-extend-native": readonly ["error", {
4522
+ readonly exceptions: readonly [];
4523
+ }];
4524
+ readonly "no-extra-bind": "error";
4525
+ readonly "no-extra-boolean-cast": readonly ["error", {
4526
+ readonly enforceForLogicalOperands: true;
4527
+ }];
4528
+ readonly "no-extra-label": "error";
4529
+ readonly "no-global-assign": readonly ["error", {
4530
+ readonly exceptions: readonly [];
4531
+ }];
4532
+ readonly "no-implicit-coercion": readonly ["error", {
4533
+ readonly boolean: true;
4534
+ readonly number: true;
4535
+ readonly string: true;
4536
+ readonly disallowTemplateShorthand: true;
4537
+ readonly allow: readonly [];
4538
+ }];
4539
+ readonly "no-implicit-globals": "off";
4540
+ readonly "no-implied-eval": "error";
4541
+ readonly "no-inline-comments": "off";
4542
+ readonly "no-invalid-this": readonly ["error", {
4543
+ readonly capIsConstructor: false;
4544
+ }];
4545
+ readonly "no-iterator": "error";
4546
+ readonly "no-label-var": "error";
4547
+ readonly "no-lone-blocks": "error";
4548
+ readonly "no-lonely-if": "off";
4549
+ readonly "no-loop-func": "error";
4550
+ readonly "no-magic-numbers": "off";
4551
+ readonly "no-multi-assign": readonly ["error", {
4552
+ readonly ignoreNonDeclaration: false;
4553
+ }];
4554
+ readonly "no-multi-str": "error";
4555
+ readonly "no-negated-condition": "off";
4556
+ readonly "no-nested-ternary": "off";
4557
+ readonly "no-new": "error";
4558
+ readonly "no-new-func": "error";
4559
+ readonly "no-new-wrappers": "error";
4560
+ readonly "no-nonoctal-decimal-escape": "error";
4561
+ readonly "no-object-constructor": "error";
4562
+ readonly "no-octal": "error";
4563
+ readonly "no-octal-escape": "error";
4564
+ readonly "no-param-reassign": readonly ["error", {
4565
+ readonly props: true;
4566
+ readonly ignorePropertyModificationsFor: readonly [];
4567
+ readonly ignorePropertyModificationsForRegex: readonly [];
4568
+ }];
4569
+ readonly "no-plusplus": readonly ["error", {
4570
+ readonly allowForLoopAfterthoughts: true;
4571
+ }];
4572
+ readonly "no-proto": "error";
4573
+ readonly "no-redeclare": readonly ["error", {
4574
+ readonly builtinGlobals: true;
4575
+ }];
4576
+ readonly "no-regex-spaces": "off";
4577
+ readonly "no-restricted-exports": "off";
4578
+ readonly "no-restricted-globals": "off";
4579
+ readonly "no-restricted-imports": "off";
4580
+ readonly "no-restricted-properties": "off";
4581
+ readonly "no-restricted-syntax": "off";
4582
+ readonly "no-return-assign": readonly ["error", "always"];
4583
+ readonly "no-script-url": "error";
4584
+ readonly "no-sequences": readonly ["error", {
4585
+ readonly allowInParentheses: true;
4586
+ }];
4587
+ readonly "no-shadow": "off";
4588
+ readonly "no-shadow-restricted-names": "error";
4589
+ readonly "no-ternary": "off";
4590
+ readonly "no-throw-literal": "error";
4591
+ readonly "no-undef-init": "error";
4592
+ readonly "no-undefined": "off";
4593
+ readonly "no-underscore-dangle": "off";
4594
+ readonly "no-unneeded-ternary": readonly ["error", {
4595
+ readonly defaultAssignment: false;
4596
+ }];
4597
+ readonly "no-unused-expressions": readonly ["error", {
4598
+ readonly allowShortCircuit: true;
4599
+ readonly allowTernary: true;
4600
+ readonly allowTaggedTemplates: true;
4601
+ readonly enforceForJSX: false;
4602
+ }];
4603
+ readonly "no-unused-labels": "error";
4604
+ readonly "no-useless-call": "error";
4605
+ readonly "no-useless-catch": "error";
4606
+ readonly "no-useless-computed-key": readonly ["error", {
4607
+ readonly enforceForClassMembers: true;
4608
+ }];
4609
+ readonly "no-useless-concat": "error";
4610
+ readonly "no-useless-constructor": "error";
4611
+ readonly "no-useless-escape": "error";
4612
+ readonly "no-useless-rename": readonly ["error", {
4613
+ readonly ignoreImport: false;
4614
+ readonly ignoreExport: false;
4615
+ readonly ignoreDestructuring: false;
4616
+ }];
4617
+ readonly "no-useless-return": "error";
4618
+ readonly "no-var": "error";
4619
+ readonly "no-void": readonly ["error", {
4620
+ readonly allowAsStatement: true;
4621
+ }];
4622
+ readonly "no-warning-comments": "off";
4623
+ readonly "no-with": "error";
4624
+ readonly "object-shorthand": readonly ["error", "always", {
4625
+ readonly avoidQuotes: true;
4626
+ readonly ignoreConstructors: false;
4627
+ readonly avoidExplicitReturnArrows: false;
4628
+ }];
4629
+ readonly "one-var": readonly ["error", {
4630
+ readonly var: "consecutive";
4631
+ readonly let: "consecutive";
4632
+ readonly const: "consecutive";
4633
+ readonly separateRequires: true;
4634
+ }];
4635
+ readonly "operator-assignment": readonly ["error", "always"];
4636
+ readonly "prefer-arrow-callback": readonly ["error", {
4637
+ readonly allowNamedFunctions: false;
4638
+ readonly allowUnboundThis: true;
4639
+ }];
4640
+ readonly "prefer-const": readonly ["error", {
4641
+ readonly destructuring: "all";
4642
+ readonly ignoreReadBeforeAssign: false;
4643
+ }];
4644
+ readonly "prefer-destructuring": readonly ["error", {
4645
+ readonly VariableDeclarator: {
4646
+ readonly array: true;
4647
+ readonly object: true;
4648
+ };
4649
+ readonly AssignmentExpression: {
4650
+ readonly array: false;
4651
+ readonly object: false;
4652
+ };
4653
+ }, {
4654
+ readonly enforceForRenamedProperties: true;
4655
+ }];
4656
+ readonly "prefer-exponentiation-operator": "error";
4657
+ readonly "prefer-named-capture-group": "off";
4658
+ readonly "prefer-numeric-literals": "error";
4659
+ readonly "prefer-object-has-own": "error";
4660
+ readonly "prefer-object-spread": "error";
4661
+ readonly "prefer-promise-reject-errors": readonly ["error", {
4662
+ readonly allowEmptyReject: false;
4663
+ }];
4664
+ readonly "prefer-regex-literals": readonly ["error", {
4665
+ readonly disallowRedundantWrapping: true;
4666
+ }];
4667
+ readonly "prefer-rest-params": "error";
4668
+ readonly "prefer-spread": "error";
4669
+ readonly "prefer-template": "error";
4670
+ readonly radix: readonly ["error", "as-needed"];
4671
+ readonly "require-await": "error";
4672
+ readonly "require-unicode-regexp": "error";
4673
+ readonly "require-yield": "error";
4674
+ readonly "sort-imports": "off";
4675
+ readonly "sort-keys": "off";
4676
+ readonly "sort-vars": "off";
4677
+ readonly strict: "off";
4678
+ readonly "symbol-description": "off";
4679
+ readonly "vars-on-top": "error";
4680
+ readonly yoda: readonly ["error", "never", {
4681
+ readonly exceptRange: false;
4682
+ readonly onlyEquality: false;
4683
+ }];
4684
+ readonly "unicode-bom": "off";
4685
+ }] | readonly ["enable-extend", {
4341
4686
  readonly "json/no-duplicate-keys": "error";
4342
4687
  readonly "json/no-empty-keys": "off";
4343
4688
  }])[];
4344
4689
  jsonc: (readonly ["enable", {
4690
+ readonly "array-callback-return": readonly ["error", {
4691
+ readonly allowImplicit: false;
4692
+ readonly checkForEach: true;
4693
+ readonly allowVoid: true;
4694
+ }];
4695
+ readonly "constructor-super": "error";
4696
+ readonly "for-direction": "error";
4697
+ readonly "getter-return": readonly ["error", {
4698
+ readonly allowImplicit: false;
4699
+ }];
4700
+ readonly "no-async-promise-executor": "error";
4701
+ readonly "no-await-in-loop": "error";
4702
+ readonly "no-class-assign": "error";
4703
+ readonly "no-compare-neg-zero": "error";
4704
+ readonly "no-cond-assign": readonly ["error", "always"];
4705
+ readonly "no-const-assign": "error";
4706
+ readonly "no-constant-binary-expression": "error";
4707
+ readonly "no-constant-condition": readonly ["error", {
4708
+ readonly checkLoops: true;
4709
+ }];
4710
+ readonly "no-constructor-return": "error";
4711
+ readonly "no-control-regex": "error";
4712
+ readonly "no-debugger": "error";
4713
+ readonly "no-dupe-args": "error";
4714
+ readonly "no-dupe-class-members": "error";
4715
+ readonly "no-dupe-else-if": "error";
4716
+ readonly "no-dupe-keys": "error";
4717
+ readonly "no-duplicate-case": "error";
4718
+ readonly "no-duplicate-imports": "off";
4719
+ readonly "no-empty-character-class": "error";
4720
+ readonly "no-empty-pattern": readonly ["error", {
4721
+ readonly allowObjectPatternsAsParameters: false;
4722
+ }];
4723
+ readonly "no-ex-assign": "error";
4724
+ readonly "no-fallthrough": readonly ["error", {
4725
+ readonly allowEmptyCase: true;
4726
+ readonly reportUnusedFallthroughComment: true;
4727
+ }];
4728
+ readonly "no-func-assign": "error";
4729
+ readonly "no-import-assign": "error";
4730
+ readonly "no-inner-declarations": readonly ["error", "both", {
4731
+ readonly blockScopedFunctions: "allow";
4732
+ }];
4733
+ readonly "no-invalid-regexp": readonly ["error", {
4734
+ readonly allowConstructorFlags: readonly [];
4735
+ }];
4736
+ readonly "no-irregular-whitespace": readonly ["error", {
4737
+ readonly skipStrings: true;
4738
+ readonly skipComments: true;
4739
+ readonly skipRegExps: true;
4740
+ readonly skipTemplates: true;
4741
+ readonly skipJSXText: true;
4742
+ }];
4743
+ readonly "no-loss-of-precision": "error";
4744
+ readonly "no-misleading-character-class": "error";
4745
+ readonly "no-new-native-nonconstructor": "error";
4746
+ readonly "no-obj-calls": "error";
4747
+ readonly "no-promise-executor-return": readonly ["error", {
4748
+ readonly allowVoid: true;
4749
+ }];
4750
+ readonly "no-prototype-builtins": "error";
4751
+ readonly "no-self-assign": readonly ["error", {
4752
+ readonly props: true;
4753
+ }];
4754
+ readonly "no-self-compare": "error";
4755
+ readonly "no-setter-return": "error";
4756
+ readonly "no-sparse-arrays": "error";
4757
+ readonly "no-template-curly-in-string": "error";
4758
+ readonly "no-this-before-super": "error";
4759
+ readonly "no-undef": "error";
4760
+ readonly "no-unexpected-multiline": "error";
4761
+ readonly "no-unmodified-loop-condition": "error";
4762
+ readonly "no-unreachable": "error";
4763
+ readonly "no-unreachable-loop": readonly ["error", {
4764
+ readonly ignore: readonly [];
4765
+ }];
4766
+ readonly "no-unsafe-finally": "error";
4767
+ readonly "no-unsafe-negation": readonly ["error", {
4768
+ readonly enforceForOrderingRelations: true;
4769
+ }];
4770
+ readonly "no-unsafe-optional-chaining": readonly ["error", {
4771
+ readonly disallowArithmeticOperators: true;
4772
+ }];
4773
+ readonly "no-unused-private-class-members": "error";
4774
+ readonly "no-unused-vars": readonly ["error", {
4775
+ readonly vars: "all";
4776
+ readonly args: "all";
4777
+ readonly caughtErrors: "all";
4778
+ readonly ignoreRestSiblings: false;
4779
+ readonly ignoreClassWithStaticInitBlock: false;
4780
+ readonly reportUsedIgnorePattern: true;
4781
+ }];
4782
+ readonly "no-use-before-define": readonly ["error", {
4783
+ readonly functions: true;
4784
+ readonly classes: true;
4785
+ readonly variables: true;
4786
+ readonly allowNamedExports: false;
4787
+ }];
4788
+ readonly "no-useless-assignment": "error";
4789
+ readonly "no-useless-backreference": "error";
4790
+ readonly "require-atomic-updates": readonly ["error", {
4791
+ readonly allowProperties: false;
4792
+ }];
4793
+ readonly "use-isnan": readonly ["error", {
4794
+ readonly enforceForSwitchCase: true;
4795
+ readonly enforceForIndexOf: true;
4796
+ }];
4797
+ readonly "valid-typeof": readonly ["error", {
4798
+ readonly requireStringLiterals: true;
4799
+ }];
4800
+ readonly "accessor-pairs": readonly ["error", {
4801
+ readonly setWithoutGet: true;
4802
+ readonly getWithoutSet: false;
4803
+ readonly enforceForClassMembers: true;
4804
+ }];
4805
+ readonly "arrow-body-style": readonly ["error", "as-needed", {
4806
+ readonly requireReturnForObjectLiteral: true;
4807
+ }];
4808
+ readonly "block-scoped-var": "error";
4809
+ readonly camelcase: "off";
4810
+ readonly "capitalized-comments": "off";
4811
+ readonly "class-methods-use-this": "off";
4812
+ readonly complexity: "off";
4813
+ readonly "consistent-return": readonly ["error", {
4814
+ readonly treatUndefinedAsUnspecified: false;
4815
+ }];
4816
+ readonly "consistent-this": "error";
4817
+ readonly curly: readonly ["error", "multi"];
4818
+ readonly "default-case": "off";
4819
+ readonly "default-case-last": "error";
4820
+ readonly "default-param-last": "error";
4821
+ readonly "dot-notation": readonly ["error", {
4822
+ readonly allowKeywords: true;
4823
+ }];
4824
+ readonly eqeqeq: readonly ["error", "always"];
4825
+ readonly "func-name-matching": "off";
4826
+ readonly "func-names": "off";
4827
+ readonly "func-style": "off";
4828
+ readonly "grouped-accessor-pairs": "off";
4829
+ readonly "guard-for-in": "off";
4830
+ readonly "id-denylist": "off";
4831
+ readonly "id-length": "off";
4832
+ readonly "id-match": "off";
4833
+ readonly "init-declarations": readonly ["error", "always"];
4834
+ readonly "logical-assignment-operators": readonly ["error", "always", {
4835
+ readonly enforceForIfStatements: true;
4836
+ }];
4837
+ readonly "max-classes-per-file": "off";
4838
+ readonly "max-depth": "off";
4839
+ readonly "max-lines": "off";
4840
+ readonly "max-lines-per-function": "off";
4841
+ readonly "max-nested-callbacks": "off";
4842
+ readonly "max-params": "off";
4843
+ readonly "max-statements": "off";
4844
+ readonly "multiline-comment-style": "off";
4845
+ readonly "new-cap": "off";
4846
+ readonly "no-alert": "error";
4847
+ readonly "no-array-constructor": "error";
4848
+ readonly "no-bitwise": readonly ["error", {
4849
+ readonly allow: readonly [];
4850
+ readonly int32Hint: true;
4851
+ }];
4852
+ readonly "no-caller": "error";
4853
+ readonly "no-case-declarations": "error";
4854
+ readonly "no-console": "off";
4855
+ readonly "no-continue": "error";
4856
+ readonly "no-delete-var": "error";
4857
+ readonly "no-div-regex": "error";
4858
+ readonly "no-else-return": "off";
4859
+ readonly "no-empty": readonly ["error", {
4860
+ readonly allowEmptyCatch: false;
4861
+ }];
4862
+ readonly "no-empty-function": readonly ["error", {
4863
+ readonly allow: readonly ["constructors"];
4864
+ }];
4865
+ readonly "no-empty-static-block": "error";
4866
+ readonly "no-eq-null": "error";
4867
+ readonly "no-eval": readonly ["error", {
4868
+ readonly allowIndirect: false;
4869
+ }];
4870
+ readonly "no-extend-native": readonly ["error", {
4871
+ readonly exceptions: readonly [];
4872
+ }];
4873
+ readonly "no-extra-bind": "error";
4874
+ readonly "no-extra-boolean-cast": readonly ["error", {
4875
+ readonly enforceForLogicalOperands: true;
4876
+ }];
4877
+ readonly "no-extra-label": "error";
4878
+ readonly "no-global-assign": readonly ["error", {
4879
+ readonly exceptions: readonly [];
4880
+ }];
4881
+ readonly "no-implicit-coercion": readonly ["error", {
4882
+ readonly boolean: true;
4883
+ readonly number: true;
4884
+ readonly string: true;
4885
+ readonly disallowTemplateShorthand: true;
4886
+ readonly allow: readonly [];
4887
+ }];
4888
+ readonly "no-implicit-globals": "off";
4889
+ readonly "no-implied-eval": "error";
4890
+ readonly "no-inline-comments": "off";
4891
+ readonly "no-invalid-this": readonly ["error", {
4892
+ readonly capIsConstructor: false;
4893
+ }];
4894
+ readonly "no-iterator": "error";
4895
+ readonly "no-label-var": "error";
4896
+ readonly "no-lone-blocks": "error";
4897
+ readonly "no-lonely-if": "off";
4898
+ readonly "no-loop-func": "error";
4899
+ readonly "no-magic-numbers": "off";
4900
+ readonly "no-multi-assign": readonly ["error", {
4901
+ readonly ignoreNonDeclaration: false;
4902
+ }];
4903
+ readonly "no-multi-str": "error";
4904
+ readonly "no-negated-condition": "off";
4905
+ readonly "no-nested-ternary": "off";
4906
+ readonly "no-new": "error";
4907
+ readonly "no-new-func": "error";
4908
+ readonly "no-new-wrappers": "error";
4909
+ readonly "no-nonoctal-decimal-escape": "error";
4910
+ readonly "no-object-constructor": "error";
4911
+ readonly "no-octal": "error";
4912
+ readonly "no-octal-escape": "error";
4913
+ readonly "no-param-reassign": readonly ["error", {
4914
+ readonly props: true;
4915
+ readonly ignorePropertyModificationsFor: readonly [];
4916
+ readonly ignorePropertyModificationsForRegex: readonly [];
4917
+ }];
4918
+ readonly "no-plusplus": readonly ["error", {
4919
+ readonly allowForLoopAfterthoughts: true;
4920
+ }];
4921
+ readonly "no-proto": "error";
4922
+ readonly "no-redeclare": readonly ["error", {
4923
+ readonly builtinGlobals: true;
4924
+ }];
4925
+ readonly "no-regex-spaces": "off";
4926
+ readonly "no-restricted-exports": "off";
4927
+ readonly "no-restricted-globals": "off";
4928
+ readonly "no-restricted-imports": "off";
4929
+ readonly "no-restricted-properties": "off";
4930
+ readonly "no-restricted-syntax": "off";
4931
+ readonly "no-return-assign": readonly ["error", "always"];
4932
+ readonly "no-script-url": "error";
4933
+ readonly "no-sequences": readonly ["error", {
4934
+ readonly allowInParentheses: true;
4935
+ }];
4936
+ readonly "no-shadow": "off";
4937
+ readonly "no-shadow-restricted-names": "error";
4938
+ readonly "no-ternary": "off";
4939
+ readonly "no-throw-literal": "error";
4940
+ readonly "no-undef-init": "error";
4941
+ readonly "no-undefined": "off";
4942
+ readonly "no-underscore-dangle": "off";
4943
+ readonly "no-unneeded-ternary": readonly ["error", {
4944
+ readonly defaultAssignment: false;
4945
+ }];
4946
+ readonly "no-unused-expressions": readonly ["error", {
4947
+ readonly allowShortCircuit: true;
4948
+ readonly allowTernary: true;
4949
+ readonly allowTaggedTemplates: true;
4950
+ readonly enforceForJSX: false;
4951
+ }];
4952
+ readonly "no-unused-labels": "error";
4953
+ readonly "no-useless-call": "error";
4954
+ readonly "no-useless-catch": "error";
4955
+ readonly "no-useless-computed-key": readonly ["error", {
4956
+ readonly enforceForClassMembers: true;
4957
+ }];
4958
+ readonly "no-useless-concat": "error";
4959
+ readonly "no-useless-constructor": "error";
4960
+ readonly "no-useless-escape": "error";
4961
+ readonly "no-useless-rename": readonly ["error", {
4962
+ readonly ignoreImport: false;
4963
+ readonly ignoreExport: false;
4964
+ readonly ignoreDestructuring: false;
4965
+ }];
4966
+ readonly "no-useless-return": "error";
4967
+ readonly "no-var": "error";
4968
+ readonly "no-void": readonly ["error", {
4969
+ readonly allowAsStatement: true;
4970
+ }];
4971
+ readonly "no-warning-comments": "off";
4972
+ readonly "no-with": "error";
4973
+ readonly "object-shorthand": readonly ["error", "always", {
4974
+ readonly avoidQuotes: true;
4975
+ readonly ignoreConstructors: false;
4976
+ readonly avoidExplicitReturnArrows: false;
4977
+ }];
4978
+ readonly "one-var": readonly ["error", {
4979
+ readonly var: "consecutive";
4980
+ readonly let: "consecutive";
4981
+ readonly const: "consecutive";
4982
+ readonly separateRequires: true;
4983
+ }];
4984
+ readonly "operator-assignment": readonly ["error", "always"];
4985
+ readonly "prefer-arrow-callback": readonly ["error", {
4986
+ readonly allowNamedFunctions: false;
4987
+ readonly allowUnboundThis: true;
4988
+ }];
4989
+ readonly "prefer-const": readonly ["error", {
4990
+ readonly destructuring: "all";
4991
+ readonly ignoreReadBeforeAssign: false;
4992
+ }];
4993
+ readonly "prefer-destructuring": readonly ["error", {
4994
+ readonly VariableDeclarator: {
4995
+ readonly array: true;
4996
+ readonly object: true;
4997
+ };
4998
+ readonly AssignmentExpression: {
4999
+ readonly array: false;
5000
+ readonly object: false;
5001
+ };
5002
+ }, {
5003
+ readonly enforceForRenamedProperties: true;
5004
+ }];
5005
+ readonly "prefer-exponentiation-operator": "error";
5006
+ readonly "prefer-named-capture-group": "off";
5007
+ readonly "prefer-numeric-literals": "error";
5008
+ readonly "prefer-object-has-own": "error";
5009
+ readonly "prefer-object-spread": "error";
5010
+ readonly "prefer-promise-reject-errors": readonly ["error", {
5011
+ readonly allowEmptyReject: false;
5012
+ }];
5013
+ readonly "prefer-regex-literals": readonly ["error", {
5014
+ readonly disallowRedundantWrapping: true;
5015
+ }];
5016
+ readonly "prefer-rest-params": "error";
5017
+ readonly "prefer-spread": "error";
5018
+ readonly "prefer-template": "error";
5019
+ readonly radix: readonly ["error", "as-needed"];
5020
+ readonly "require-await": "error";
5021
+ readonly "require-unicode-regexp": "error";
5022
+ readonly "require-yield": "error";
5023
+ readonly "sort-imports": "off";
5024
+ readonly "sort-keys": "off";
5025
+ readonly "sort-vars": "off";
5026
+ readonly strict: "off";
5027
+ readonly "symbol-description": "off";
5028
+ readonly "vars-on-top": "error";
5029
+ readonly yoda: readonly ["error", "never", {
5030
+ readonly exceptRange: false;
5031
+ readonly onlyEquality: false;
5032
+ }];
5033
+ readonly "unicode-bom": "off";
5034
+ }] | readonly ["enable-extend", {
4345
5035
  readonly "json/no-duplicate-keys": "error";
4346
5036
  readonly "json/no-empty-keys": "off";
4347
5037
  }])[];