linted 21.0.0-rc.12 → 21.0.0-rc.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -4338,699 +4338,275 @@ 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;
4341
+ readonly "array-bracket-newline": readonly ["error", {
4342
+ readonly multiline: true;
4343
+ readonly minItems: null;
4345
4344
  }];
4346
- readonly "constructor-super": "error";
4347
- readonly "for-direction": "error";
4348
- readonly "getter-return": readonly ["error", {
4349
- readonly allowImplicit: false;
4345
+ readonly "array-bracket-spacing": readonly ["error", "never", {
4346
+ readonly singleValue: false;
4347
+ readonly objectsInArrays: false;
4348
+ readonly arraysInArrays: false;
4350
4349
  }];
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;
4350
+ readonly "array-element-newline": readonly ["error", {
4351
+ readonly ArrayExpression: {
4352
+ readonly consistent: true;
4353
+ readonly multiline: true;
4354
+ readonly minItems: 4;
4355
+ };
4356
+ readonly ArrayPattern: {
4357
+ readonly consistent: true;
4358
+ readonly multiline: true;
4359
+ readonly minItems: 4;
4360
+ };
4360
4361
  }];
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;
4362
+ readonly "brace-style": readonly ["error", "stroustrup", {
4363
+ readonly allowSingleLine: true;
4373
4364
  }];
4374
- readonly "no-ex-assign": "error";
4375
- readonly "no-fallthrough": readonly ["error", {
4376
- readonly allowEmptyCase: true;
4377
- readonly reportUnusedFallthroughComment: true;
4365
+ readonly "comma-dangle": readonly ["error", "always-multiline"];
4366
+ readonly "comma-spacing": readonly ["error", {
4367
+ readonly before: false;
4368
+ readonly after: true;
4378
4369
  }];
4379
- readonly "no-func-assign": "error";
4380
- readonly "no-import-assign": "error";
4381
- readonly "no-inner-declarations": readonly ["error", "both", {
4382
- readonly blockScopedFunctions: "allow";
4370
+ readonly "comma-style": readonly ["error", "last", {
4371
+ readonly exceptions: {
4372
+ readonly ArrayExpression: false;
4373
+ readonly ArrayPattern: false;
4374
+ readonly ArrowFunctionExpression: false;
4375
+ readonly CallExpression: false;
4376
+ readonly FunctionDeclaration: false;
4377
+ readonly FunctionExpression: false;
4378
+ readonly ImportDeclaration: false;
4379
+ readonly ObjectExpression: false;
4380
+ readonly ObjectPattern: false;
4381
+ readonly VariableDeclaration: false;
4382
+ readonly NewExpression: false;
4383
+ };
4383
4384
  }];
4384
- readonly "no-invalid-regexp": readonly ["error", {
4385
- readonly allowConstructorFlags: readonly [];
4385
+ readonly "eol-last": readonly ["error", "always"];
4386
+ readonly "key-spacing": readonly ["error", {
4387
+ readonly beforeColon: false;
4388
+ readonly afterColon: true;
4389
+ readonly mode: "strict";
4386
4390
  }];
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;
4391
+ readonly indent: readonly ["error", 2, {
4392
+ readonly ignoredNodes: readonly [];
4393
+ readonly SwitchCase: 1;
4394
+ readonly VariableDeclarator: {
4395
+ readonly var: 0;
4396
+ readonly let: 0;
4397
+ readonly const: 0;
4398
+ };
4399
+ readonly outerIIFEBody: 0;
4400
+ readonly MemberExpression: 1;
4401
+ readonly FunctionDeclaration: {
4402
+ readonly parameters: 1;
4403
+ readonly body: 1;
4404
+ };
4405
+ readonly FunctionExpression: {
4406
+ readonly parameters: 1;
4407
+ readonly body: 1;
4408
+ };
4409
+ readonly StaticBlock: {
4410
+ readonly body: 1;
4411
+ };
4412
+ readonly CallExpression: {
4413
+ readonly arguments: 1;
4414
+ };
4415
+ readonly ArrayExpression: 1;
4416
+ readonly ObjectExpression: 1;
4417
+ readonly ImportDeclaration: 1;
4418
+ readonly flatTernaryExpressions: false;
4419
+ readonly offsetTernaryExpressions: true;
4420
+ readonly ignoreComments: false;
4393
4421
  }];
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;
4422
+ readonly "no-mixed-spaces-and-tabs": "error";
4423
+ readonly "no-multi-spaces": readonly ["error", {
4424
+ readonly ignoreEOLComments: false;
4425
+ readonly exceptions: {
4426
+ readonly Property: false;
4427
+ readonly ImportAttributes: false;
4428
+ };
4429
+ readonly includeTabs: true;
4400
4430
  }];
4401
- readonly "no-prototype-builtins": "error";
4402
- readonly "no-self-assign": readonly ["error", {
4403
- readonly props: true;
4431
+ readonly "no-multiple-empty-lines": readonly ["error", {
4432
+ readonly max: 1;
4433
+ readonly maxEOF: 1;
4434
+ readonly maxBOF: 0;
4404
4435
  }];
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 [];
4436
+ readonly "no-tabs": readonly ["error", {
4437
+ readonly allowIndentationTabs: false;
4416
4438
  }];
4417
- readonly "no-unsafe-finally": "error";
4418
- readonly "no-unsafe-negation": readonly ["error", {
4419
- readonly enforceForOrderingRelations: true;
4439
+ readonly "no-trailing-spaces": readonly ["error", {
4440
+ readonly skipBlankLines: false;
4441
+ readonly ignoreComments: false;
4420
4442
  }];
4421
- readonly "no-unsafe-optional-chaining": readonly ["error", {
4422
- readonly disallowArithmeticOperators: true;
4443
+ readonly "no-whitespace-before-property": "error";
4444
+ readonly "object-curly-newline": readonly ["error", {
4445
+ readonly ObjectExpression: {
4446
+ readonly consistent: true;
4447
+ readonly multiline: true;
4448
+ readonly minProperties: 4;
4449
+ };
4450
+ readonly ObjectPattern: {
4451
+ readonly consistent: true;
4452
+ readonly multiline: true;
4453
+ readonly minProperties: 4;
4454
+ };
4455
+ readonly ImportDeclaration: {
4456
+ readonly consistent: true;
4457
+ readonly multiline: true;
4458
+ readonly minProperties: 4;
4459
+ };
4460
+ readonly ExportDeclaration: {
4461
+ readonly consistent: true;
4462
+ readonly multiline: true;
4463
+ readonly minProperties: 4;
4464
+ };
4423
4465
  }];
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;
4466
+ readonly "object-curly-spacing": readonly ["error", "always", {
4467
+ readonly arraysInObjects: true;
4468
+ readonly objectsInObjects: true;
4432
4469
  }];
4433
- readonly "no-use-before-define": readonly ["error", {
4434
- readonly functions: true;
4435
- readonly classes: true;
4436
- readonly variables: true;
4437
- readonly allowNamedExports: false;
4470
+ readonly "object-property-newline": readonly ["error", {
4471
+ readonly allowAllPropertiesOnSameLine: true;
4438
4472
  }];
4439
- readonly "no-useless-assignment": "error";
4440
- readonly "no-useless-backreference": "error";
4441
- readonly "require-atomic-updates": readonly ["error", {
4442
- readonly allowProperties: false;
4473
+ }] | readonly ["enable-extend", {
4474
+ readonly "json/no-duplicate-keys": "error";
4475
+ readonly "json/no-empty-keys": "off";
4476
+ }])[];
4477
+ jsonc: (readonly ["enable", {
4478
+ readonly "array-bracket-newline": readonly ["error", {
4479
+ readonly multiline: true;
4480
+ readonly minItems: null;
4443
4481
  }];
4444
- readonly "use-isnan": readonly ["error", {
4445
- readonly enforceForSwitchCase: true;
4446
- readonly enforceForIndexOf: true;
4482
+ readonly "array-bracket-spacing": readonly ["error", "never", {
4483
+ readonly singleValue: false;
4484
+ readonly objectsInArrays: false;
4485
+ readonly arraysInArrays: false;
4447
4486
  }];
4448
- readonly "valid-typeof": readonly ["error", {
4449
- readonly requireStringLiterals: true;
4487
+ readonly "array-element-newline": readonly ["error", {
4488
+ readonly ArrayExpression: {
4489
+ readonly consistent: true;
4490
+ readonly multiline: true;
4491
+ readonly minItems: 4;
4492
+ };
4493
+ readonly ArrayPattern: {
4494
+ readonly consistent: true;
4495
+ readonly multiline: true;
4496
+ readonly minItems: 4;
4497
+ };
4450
4498
  }];
4451
- readonly "accessor-pairs": readonly ["error", {
4452
- readonly setWithoutGet: true;
4453
- readonly getWithoutSet: false;
4454
- readonly enforceForClassMembers: true;
4499
+ readonly "brace-style": readonly ["error", "stroustrup", {
4500
+ readonly allowSingleLine: true;
4455
4501
  }];
4456
- readonly "arrow-body-style": readonly ["error", "as-needed", {
4457
- readonly requireReturnForObjectLiteral: true;
4502
+ readonly "comma-dangle": readonly ["error", "always-multiline"];
4503
+ readonly "comma-spacing": readonly ["error", {
4504
+ readonly before: false;
4505
+ readonly after: true;
4458
4506
  }];
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;
4507
+ readonly "comma-style": readonly ["error", "last", {
4508
+ readonly exceptions: {
4509
+ readonly ArrayExpression: false;
4510
+ readonly ArrayPattern: false;
4511
+ readonly ArrowFunctionExpression: false;
4512
+ readonly CallExpression: false;
4513
+ readonly FunctionDeclaration: false;
4514
+ readonly FunctionExpression: false;
4515
+ readonly ImportDeclaration: false;
4516
+ readonly ObjectExpression: false;
4517
+ readonly ObjectPattern: false;
4518
+ readonly VariableDeclaration: false;
4519
+ readonly NewExpression: false;
4520
+ };
4466
4521
  }];
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;
4522
+ readonly "eol-last": readonly ["error", "always"];
4523
+ readonly "key-spacing": readonly ["error", {
4524
+ readonly beforeColon: false;
4525
+ readonly afterColon: true;
4526
+ readonly mode: "strict";
4474
4527
  }];
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", {
4686
- readonly "json/no-duplicate-keys": "error";
4687
- readonly "json/no-empty-keys": "off";
4688
- }])[];
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;
4528
+ readonly indent: readonly ["error", 2, {
4529
+ readonly ignoredNodes: readonly [];
4530
+ readonly SwitchCase: 1;
4531
+ readonly VariableDeclarator: {
4532
+ readonly var: 0;
4533
+ readonly let: 0;
4534
+ readonly const: 0;
4535
+ };
4536
+ readonly outerIIFEBody: 0;
4537
+ readonly MemberExpression: 1;
4538
+ readonly FunctionDeclaration: {
4539
+ readonly parameters: 1;
4540
+ readonly body: 1;
4541
+ };
4542
+ readonly FunctionExpression: {
4543
+ readonly parameters: 1;
4544
+ readonly body: 1;
4545
+ };
4546
+ readonly StaticBlock: {
4547
+ readonly body: 1;
4548
+ };
4549
+ readonly CallExpression: {
4550
+ readonly arguments: 1;
4551
+ };
4552
+ readonly ArrayExpression: 1;
4553
+ readonly ObjectExpression: 1;
4554
+ readonly ImportDeclaration: 1;
4555
+ readonly flatTernaryExpressions: false;
4556
+ readonly offsetTernaryExpressions: true;
4557
+ readonly ignoreComments: false;
4970
4558
  }];
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;
4559
+ readonly "no-mixed-spaces-and-tabs": "error";
4560
+ readonly "no-multi-spaces": readonly ["error", {
4561
+ readonly ignoreEOLComments: false;
4562
+ readonly exceptions: {
4563
+ readonly Property: false;
4564
+ readonly ImportAttributes: false;
4565
+ };
4566
+ readonly includeTabs: true;
4977
4567
  }];
4978
- readonly "one-var": readonly ["error", {
4979
- readonly var: "consecutive";
4980
- readonly let: "consecutive";
4981
- readonly const: "consecutive";
4982
- readonly separateRequires: true;
4568
+ readonly "no-multiple-empty-lines": readonly ["error", {
4569
+ readonly max: 1;
4570
+ readonly maxEOF: 1;
4571
+ readonly maxBOF: 0;
4983
4572
  }];
4984
- readonly "operator-assignment": readonly ["error", "always"];
4985
- readonly "prefer-arrow-callback": readonly ["error", {
4986
- readonly allowNamedFunctions: false;
4987
- readonly allowUnboundThis: true;
4573
+ readonly "no-tabs": readonly ["error", {
4574
+ readonly allowIndentationTabs: false;
4988
4575
  }];
4989
- readonly "prefer-const": readonly ["error", {
4990
- readonly destructuring: "all";
4991
- readonly ignoreReadBeforeAssign: false;
4576
+ readonly "no-trailing-spaces": readonly ["error", {
4577
+ readonly skipBlankLines: false;
4578
+ readonly ignoreComments: false;
4992
4579
  }];
4993
- readonly "prefer-destructuring": readonly ["error", {
4994
- readonly VariableDeclarator: {
4995
- readonly array: true;
4996
- readonly object: true;
4580
+ readonly "no-whitespace-before-property": "error";
4581
+ readonly "object-curly-newline": readonly ["error", {
4582
+ readonly ObjectExpression: {
4583
+ readonly consistent: true;
4584
+ readonly multiline: true;
4585
+ readonly minProperties: 4;
4997
4586
  };
4998
- readonly AssignmentExpression: {
4999
- readonly array: false;
5000
- readonly object: false;
4587
+ readonly ObjectPattern: {
4588
+ readonly consistent: true;
4589
+ readonly multiline: true;
4590
+ readonly minProperties: 4;
4591
+ };
4592
+ readonly ImportDeclaration: {
4593
+ readonly consistent: true;
4594
+ readonly multiline: true;
4595
+ readonly minProperties: 4;
4596
+ };
4597
+ readonly ExportDeclaration: {
4598
+ readonly consistent: true;
4599
+ readonly multiline: true;
4600
+ readonly minProperties: 4;
5001
4601
  };
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
4602
  }];
5013
- readonly "prefer-regex-literals": readonly ["error", {
5014
- readonly disallowRedundantWrapping: true;
4603
+ readonly "object-curly-spacing": readonly ["error", "always", {
4604
+ readonly arraysInObjects: true;
4605
+ readonly objectsInObjects: true;
5015
4606
  }];
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;
4607
+ readonly "object-property-newline": readonly ["error", {
4608
+ readonly allowAllPropertiesOnSameLine: true;
5032
4609
  }];
5033
- readonly "unicode-bom": "off";
5034
4610
  }] | readonly ["enable-extend", {
5035
4611
  readonly "json/no-duplicate-keys": "error";
5036
4612
  readonly "json/no-empty-keys": "off";