@eslinted/defaults 17.2.7 → 17.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/dist/index.d.ts +792 -1139
  2. package/dist/rules/css/index.d.ts +1 -2
  3. package/dist/rules/css/index.d.ts.map +1 -1
  4. package/dist/rules/css/index.js.map +1 -1
  5. package/dist/rules/disable.d.ts +1 -2
  6. package/dist/rules/disable.d.ts.map +1 -1
  7. package/dist/rules/disable.js.map +1 -1
  8. package/dist/rules/html/index.d.ts +17 -37
  9. package/dist/rules/html/index.d.ts.map +1 -1
  10. package/dist/rules/html/index.js.map +1 -1
  11. package/dist/rules/index.d.ts +792 -1139
  12. package/dist/rules/js.d.ts +357 -560
  13. package/dist/rules/js.eslint.d.ts +90 -184
  14. package/dist/rules/js.eslint.d.ts.map +1 -1
  15. package/dist/rules/js.eslint.js.map +1 -1
  16. package/dist/rules/js.stylistic.d.ts +108 -219
  17. package/dist/rules/js.stylistic.d.ts.map +1 -1
  18. package/dist/rules/js.stylistic.js.map +1 -1
  19. package/dist/rules/json/index.d.ts +53 -68
  20. package/dist/rules/json/json.d.ts +1 -2
  21. package/dist/rules/json/json.d.ts.map +1 -1
  22. package/dist/rules/json/json.js.map +1 -1
  23. package/dist/rules/json/plugin/extend.d.ts +16 -32
  24. package/dist/rules/json/plugin/extend.d.ts.map +1 -1
  25. package/dist/rules/json/plugin/extend.js.map +1 -1
  26. package/dist/rules/json/plugin/index.d.ts +1 -2
  27. package/dist/rules/json/plugin/index.d.ts.map +1 -1
  28. package/dist/rules/json/plugin/index.js.map +1 -1
  29. package/dist/rules/jsonc/index.d.ts +1 -2
  30. package/dist/rules/jsonc/index.d.ts.map +1 -1
  31. package/dist/rules/jsonc/index.js.map +1 -1
  32. package/dist/rules/jsoncc/index.d.ts +2 -6
  33. package/dist/rules/jsoncc/index.d.ts.map +1 -1
  34. package/dist/rules/jsoncc/index.js.map +1 -1
  35. package/dist/rules/mocha/chai/expect.d.ts +1 -2
  36. package/dist/rules/mocha/chai/expect.d.ts.map +1 -1
  37. package/dist/rules/mocha/chai/expect.js.map +1 -1
  38. package/dist/rules/mocha/chai/index.d.ts +5 -9
  39. package/dist/rules/mocha/chai/index.d.ts.map +1 -1
  40. package/dist/rules/mocha/chai/index.js.map +1 -1
  41. package/dist/rules/mocha/index.d.ts +26 -29
  42. package/dist/rules/mocha/mocha.d.ts +1 -2
  43. package/dist/rules/mocha/mocha.d.ts.map +1 -1
  44. package/dist/rules/mocha/mocha.js.map +1 -1
  45. package/dist/rules/svelte/disable.d.ts +1 -2
  46. package/dist/rules/svelte/disable.d.ts.map +1 -1
  47. package/dist/rules/svelte/disable.js.map +1 -1
  48. package/dist/rules/svelte/extend.d.ts +2 -6
  49. package/dist/rules/svelte/extend.d.ts.map +1 -1
  50. package/dist/rules/svelte/extend.js.map +1 -1
  51. package/dist/rules/svelte/index.d.ts +93 -121
  52. package/dist/rules/svelte/svelte.d.ts +23 -49
  53. package/dist/rules/svelte/svelte.d.ts.map +1 -1
  54. package/dist/rules/svelte/svelte.js.map +1 -1
  55. package/dist/rules/ts/disable.d.ts +1 -2
  56. package/dist/rules/ts/disable.d.ts.map +1 -1
  57. package/dist/rules/ts/disable.js.map +1 -1
  58. package/dist/rules/ts/extend.d.ts +18 -31
  59. package/dist/rules/ts/extend.d.ts.map +1 -1
  60. package/dist/rules/ts/extend.js.map +1 -1
  61. package/dist/rules/ts/index.d.ts +169 -220
  62. package/dist/rules/ts/ts.d.ts +53 -93
  63. package/dist/rules/ts/ts.d.ts.map +1 -1
  64. package/dist/rules/ts/ts.js.map +1 -1
  65. package/dist/rules/yml/extend.d.ts +18 -44
  66. package/dist/rules/yml/extend.d.ts.map +1 -1
  67. package/dist/rules/yml/extend.js.map +1 -1
  68. package/dist/rules/yml/index.d.ts +33 -58
  69. package/dist/rules/yml/yml.d.ts +1 -2
  70. package/dist/rules/yml/yml.d.ts.map +1 -1
  71. package/dist/rules/yml/yml.js.map +1 -1
  72. package/package.json +2 -2
  73. package/src/_pattern/tsconfig.json +6 -0
  74. package/src/files/tsconfig.json +11 -0
  75. package/src/ignores/tsconfig.json +11 -0
  76. package/src/rules/css/index.ts +0 -2
  77. package/src/rules/disable.ts +0 -2
  78. package/src/rules/html/index.ts +0 -2
  79. package/src/rules/js.eslint.ts +0 -2
  80. package/src/rules/js.stylistic.ts +0 -2
  81. package/src/rules/json/json.ts +0 -2
  82. package/src/rules/json/plugin/extend.ts +0 -2
  83. package/src/rules/json/plugin/index.ts +0 -2
  84. package/src/rules/jsonc/index.ts +0 -2
  85. package/src/rules/jsoncc/index.ts +0 -2
  86. package/src/rules/mocha/chai/expect.ts +0 -2
  87. package/src/rules/mocha/chai/index.ts +0 -2
  88. package/src/rules/mocha/mocha.ts +0 -2
  89. package/src/rules/svelte/disable.ts +0 -2
  90. package/src/rules/svelte/extend.ts +0 -2
  91. package/src/rules/svelte/svelte.ts +0 -2
  92. package/src/rules/ts/disable.ts +0 -2
  93. package/src/rules/ts/extend.ts +0 -2
  94. package/src/rules/ts/ts.ts +0 -2
  95. package/src/rules/tsconfig.json +7 -0
  96. package/src/rules/yml/extend.ts +0 -2
  97. package/src/rules/yml/yml.ts +0 -2
  98. package/src/tsconfig-src.json +8 -0
  99. package/src/tsconfig.json +12 -7
  100. package/tests/tsconfig.json +1 -4
  101. package/typings/index.d.ts +5 -0
  102. package/dist/rules/state.d.ts +0 -6
  103. package/dist/rules/state.d.ts.map +0 -1
  104. package/dist/rules/state.js +0 -2
  105. package/dist/rules/state.js.map +0 -1
  106. package/src/rules/state.ts +0 -5
@@ -1 +1 @@
1
- {"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../../src/rules/svelte/svelte.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QAGL,+BAA+B,GAAU;QACzC,4BAA4B,GAAU;QACtC,+BAA+B,GAAU;QACzC,8BAA8B,GAAU;QACxC,iCAAiC,GAAU;QAC3C,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AAkC,GAAU;QAE5C,wBAAwB,EAAE;;YAExB;gBACE,kBAAkB,EAAE,IAAI;aACzB;SACF;QACD,gCAAgC,GAAU;QAC1C,oCAAoC,GAAU;QAC9C,6BAA6B,GAAU;QACvC,qBAAqB,EAAE;;YAErB;gBACE,aAAa,EAAE,KAAK;aACrB;SACF;QACD,wCAAwC,GAAU;QAClD,gCAAgC,GAAU;QAC1C,yBAAyB,GAAU;QACnC,uCAAuC,GAAU;QACjD,0CAA0C,GAAU;QACpD,4BAA4B,GAAU;QACtC,uBAAuB,GAAU;QAKjC,kCAAkC,EAAE;;YAElC;gBACE,WAAW,EAAE,IAAI;aAClB;SACF;QACD,wCAAwC,GAAU;QAClD,kCAAkC,EAAE;;YAElC;gBACE,UAAU,EAAE,OAAO;aACpB;SACF;QACD,sCAAsC,GAAU;QAChD,qCAAqC,EAAE;;YAErC;gBACE,cAAc,EAAE,OAAO;aACxB;SACF;QAED,0BAA0B,GAAU;QACpC,eAAe,GAAU;QACzB,gCAAgC,GAAU;QAC1C,yBAAyB,GAAU;QACnC,kCAAkC,GAAU;QAE5C,kDAAkD,GAAU;QAC5D,+BAA+B,EAAE;;YAE/B;gBACE,MAAM,EAAE,OAAO;aAChB;SACF;QACD,+BAA+B,GAAU;QACzC,6BAA6B,GAAU;QACvC,4BAA4B,GAAU;QACtC,4BAA4B,GAAU;QAEtC,4BAA4B,GAAU;QAKtC,qDAAqD,GAAU;QAC/D,sCAAsC,GAAU;QAChD,sCAAsC,GAAU;QAKhD,0BAA0B,GAAU;QACpC,eAAe,GAAU;KAEjB;CACX,CAAC"}
@@ -1,4 +1,3 @@
1
- import { State } from "../state.js";
2
1
  declare const _default: {
3
2
  rules: {
4
3
  readonly "consistent-return": State.OFF;
@@ -23,4 +22,4 @@ declare const _default: {
23
22
  };
24
23
  };
25
24
  export default _default;
26
- //# sourceMappingURL=disable.d.ts.map
25
+ //# sourceMappingURL=disable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"disable.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/disable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;AAEjC,wBAuBE"}
1
+ {"version":3,"file":"disable.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/disable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAuBE"}
@@ -1 +1 @@
1
- {"version":3,"file":"disable.js","sourceRoot":"","sources":["../../../src/rules/ts/disable.ts"],"names":[],"mappings":"AAEA,eAAe;IACb,KAAK,EAAE;QAEL,mBAAmB,GAAW;QAC9B,mBAAmB,GAAW;QAC9B,eAAe,GAAW;QAC1B,iBAAiB,GAAW;QAC5B,iBAAiB,GAAW;QAC5B,cAAc,GAAW;QACzB,uBAAuB,GAAW;QAClC,cAAc,GAAW;QACzB,gBAAgB,GAAW;QAC3B,kBAAkB,GAAW;QAC7B,iBAAiB,GAAW;QAC5B,8BAA8B,GAAW;QACzC,cAAc,GAAW;QACzB,cAAc,GAAW;QACzB,kBAAkB,GAAW;QAC7B,sBAAsB,GAAW;QACjC,UAAU,GAAW;QACrB,gBAAgB,GAAW;QAC3B,oBAAoB,GAAW;KACvB;CACX,CAAC"}
1
+ {"version":3,"file":"disable.js","sourceRoot":"","sources":["../../../src/rules/ts/disable.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,KAAK,EAAE;QAEL,mBAAmB,GAAW;QAC9B,mBAAmB,GAAW;QAC9B,eAAe,GAAW;QAC1B,iBAAiB,GAAW;QAC5B,iBAAiB,GAAW;QAC5B,cAAc,GAAW;QACzB,uBAAuB,GAAW;QAClC,cAAc,GAAW;QACzB,gBAAgB,GAAW;QAC3B,kBAAkB,GAAW;QAC7B,iBAAiB,GAAW;QAC5B,8BAA8B,GAAW;QACzC,cAAc,GAAW;QACzB,cAAc,GAAW;QACzB,kBAAkB,GAAW;QAC7B,sBAAsB,GAAW;QACjC,UAAU,GAAW;QACrB,gBAAgB,GAAW;QAC3B,oBAAoB,GAAW;KACvB;CACX,CAAC"}
@@ -1,47 +1,34 @@
1
- import { State } from "../state.js";
2
1
  declare const _default: {
3
2
  rules: {
4
3
  readonly "dot-notation": State.OFF;
5
- readonly "ts/dot-notation": readonly [
6
- State.ON,
7
- {
8
- readonly allowPrivateClassPropertyAccess: true;
9
- readonly allowProtectedClassPropertyAccess: true;
10
- readonly allowIndexSignaturePropertyAccess: true;
11
- }
12
- ];
4
+ readonly "ts/dot-notation": readonly [State.ON, {
5
+ readonly allowPrivateClassPropertyAccess: true;
6
+ readonly allowProtectedClassPropertyAccess: true;
7
+ readonly allowIndexSignaturePropertyAccess: true;
8
+ }];
13
9
  readonly "no-implied-eval": State.OFF;
14
10
  readonly "ts/no-implied-eval": State.ON;
15
11
  readonly "no-restricted-imports": State.OFF;
16
12
  readonly "no-unused-vars": State.OFF;
17
13
  readonly "ts/no-unused-vars": State.ON;
18
14
  readonly "no-throw-literal": State.OFF;
19
- readonly "ts/only-throw-error": readonly [
20
- State.ON,
21
- {
22
- readonly allowThrowingAny: false;
23
- }
24
- ];
15
+ readonly "ts/only-throw-error": readonly [State.ON, {
16
+ readonly allowThrowingAny: false;
17
+ }];
25
18
  readonly "prefer-destructuring": State.OFF;
26
- readonly "ts/prefer-destructuring": readonly [
27
- State.ON,
28
- {
29
- readonly AssignmentExpression: {
30
- readonly array: false;
31
- readonly object: false;
32
- };
33
- }
34
- ];
19
+ readonly "ts/prefer-destructuring": readonly [State.ON, {
20
+ readonly AssignmentExpression: {
21
+ readonly array: false;
22
+ readonly object: false;
23
+ };
24
+ }];
35
25
  readonly "prefer-promise-reject-errors": State.OFF;
36
- readonly "ts/prefer-promise-reject-errors": readonly [
37
- State.ON,
38
- {
39
- readonly allowThrowingUnknown: true;
40
- }
41
- ];
26
+ readonly "ts/prefer-promise-reject-errors": readonly [State.ON, {
27
+ readonly allowThrowingUnknown: true;
28
+ }];
42
29
  readonly "require-await": State.OFF;
43
30
  readonly "ts/require-await": State.ON;
44
31
  };
45
32
  };
46
33
  export default _default;
47
- //# sourceMappingURL=extend.d.ts.map
34
+ //# sourceMappingURL=extend.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"extend.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/extend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGjC,wBA8CE"}
1
+ {"version":3,"file":"extend.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/extend.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,wBA8CE"}
@@ -1 +1 @@
1
- {"version":3,"file":"extend.js","sourceRoot":"","sources":["../../../src/rules/ts/extend.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QACW,cAAc,GAAW;QACzC,iBAAiB,EAAE;;YAEjB;gBAEE,+BAA+B,EAAE,IAAI;gBACrC,iCAAiC,EAAE,IAAI;gBACvC,iCAAiC,EAAE,IAAI;aACxC;SACF;QACe,iBAAiB,GAAW;QAC5C,oBAAoB,GAAU;QAEd,uBAAuB,GAAW;QAElC,gBAAgB,GAAW;QAC3C,mBAAmB,GAAU;QACb,kBAAkB,GAAW;QAC7C,qBAAqB,EAAE;;YAErB;gBACE,gBAAgB,EAAE,KAAK;aACxB;SACF;QACe,sBAAsB,GAAW;QACjD,yBAAyB,EAAE;;YAEzB;gBACE,oBAAoB,EAAE;oBACpB,KAAK,EAAE,KAAK;oBACZ,MAAM,EAAE,KAAK;iBACd;aACF;SACF;QACe,8BAA8B,GAAW;QACzD,iCAAiC,EAAE;;YAEjC;gBACE,oBAAoB,EAAE,IAAI;aAC3B;SACF;QACe,eAAe,GAAW;QAC1C,kBAAkB,GAAU;KACpB;CACX,CAAC"}
1
+ {"version":3,"file":"extend.js","sourceRoot":"","sources":["../../../src/rules/ts/extend.ts"],"names":[],"mappings":"AACA,eAAe;IACb,KAAK,EAAE;QACW,cAAc,GAAW;QACzC,iBAAiB,EAAE;;YAEjB;gBAEE,+BAA+B,EAAE,IAAI;gBACrC,iCAAiC,EAAE,IAAI;gBACvC,iCAAiC,EAAE,IAAI;aACxC;SACF;QACe,iBAAiB,GAAW;QAC5C,oBAAoB,GAAU;QAEd,uBAAuB,GAAW;QAElC,gBAAgB,GAAW;QAC3C,mBAAmB,GAAU;QACb,kBAAkB,GAAW;QAC7C,qBAAqB,EAAE;;YAErB;gBACE,gBAAgB,EAAE,KAAK;aACxB;SACF;QACe,sBAAsB,GAAW;QACjD,yBAAyB,EAAE;;YAEzB;gBACE,oBAAoB,EAAE;oBACpB,KAAK,EAAE,KAAK;oBACZ,MAAM,EAAE,KAAK;iBACd;aACF;SACF;QACe,8BAA8B,GAAW;QACzD,iCAAiC,EAAE;;YAEjC;gBACE,oBAAoB,EAAE,IAAI;aAC3B;SACF;QACe,eAAe,GAAW;QAC1C,kBAAkB,GAAU;KACpB;CACX,CAAC"}
@@ -1,231 +1,180 @@
1
1
  declare const _default: ({
2
2
  rules: {
3
- readonly "consistent-return": import("../state.js").State.OFF;
4
- readonly "constructor-super": import("../state.js").State.OFF;
5
- readonly "getter-return": import("../state.js").State.OFF;
6
- readonly "no-class-assign": import("../state.js").State.OFF;
7
- readonly "no-const-assign": import("../state.js").State.OFF;
8
- readonly "no-dupe-args": import("../state.js").State.OFF;
9
- readonly "no-dupe-class-members": import("../state.js").State.OFF;
10
- readonly "no-dupe-keys": import("../state.js").State.OFF;
11
- readonly "no-func-assign": import("../state.js").State.OFF;
12
- readonly "no-import-assign": import("../state.js").State.OFF;
13
- readonly "no-invalid-this": import("../state.js").State.OFF;
14
- readonly "no-new-native-nonconstructor": import("../state.js").State.OFF;
15
- readonly "no-obj-calls": import("../state.js").State.OFF;
16
- readonly "no-redeclare": import("../state.js").State.OFF;
17
- readonly "no-setter-return": import("../state.js").State.OFF;
18
- readonly "no-this-before-super": import("../state.js").State.OFF;
19
- readonly "no-undef": import("../state.js").State.OFF;
20
- readonly "no-unreachable": import("../state.js").State.OFF;
21
- readonly "no-unsafe-negation": import("../state.js").State.OFF;
3
+ readonly "consistent-return": State.OFF;
4
+ readonly "constructor-super": State.OFF;
5
+ readonly "getter-return": State.OFF;
6
+ readonly "no-class-assign": State.OFF;
7
+ readonly "no-const-assign": State.OFF;
8
+ readonly "no-dupe-args": State.OFF;
9
+ readonly "no-dupe-class-members": State.OFF;
10
+ readonly "no-dupe-keys": State.OFF;
11
+ readonly "no-func-assign": State.OFF;
12
+ readonly "no-import-assign": State.OFF;
13
+ readonly "no-invalid-this": State.OFF;
14
+ readonly "no-new-native-nonconstructor": State.OFF;
15
+ readonly "no-obj-calls": State.OFF;
16
+ readonly "no-redeclare": State.OFF;
17
+ readonly "no-setter-return": State.OFF;
18
+ readonly "no-this-before-super": State.OFF;
19
+ readonly "no-undef": State.OFF;
20
+ readonly "no-unreachable": State.OFF;
21
+ readonly "no-unsafe-negation": State.OFF;
22
22
  };
23
23
  } | {
24
24
  rules: {
25
- readonly "ts/await-thenable": import("../state.js").State.ON;
26
- readonly "ts/ban-ts-comment": import("../state.js").State.ON;
27
- readonly "ts/ban-tslint-comment": import("../state.js").State.ON;
28
- readonly "ts/class-literal-property-style": import("../state.js").State.ON;
29
- readonly "ts/consistent-generic-constructors": import("../state.js").State.ON;
30
- readonly "ts/consistent-type-assertions": readonly [
31
- import("../state.js").State.ON,
32
- {
33
- readonly arrayLiteralTypeAssertions: "never";
34
- readonly objectLiteralTypeAssertions: "never";
35
- }
36
- ];
37
- readonly "ts/consistent-type-exports": import("../state.js").State.ON;
38
- readonly "ts/consistent-type-imports": import("../state.js").State.ON;
39
- readonly "ts/explicit-member-accessibility": readonly [
40
- import("../state.js").State.ON,
41
- {
42
- readonly overrides: {
43
- readonly constructors: "no-public";
44
- };
45
- }
46
- ];
47
- readonly "ts/member-ordering": readonly [
48
- import("../state.js").State.ON,
49
- {
50
- readonly default: {
51
- readonly optionalityOrder: "required-first";
52
- };
53
- }
54
- ];
55
- readonly "ts/method-signature-style": import("../state.js").State.ON;
56
- readonly "ts/no-array-delete": import("../state.js").State.ON;
57
- readonly "ts/no-base-to-string": import("../state.js").State.ON;
58
- readonly "ts/no-confusing-non-null-assertion": import("../state.js").State.ON;
59
- readonly "ts/no-confusing-void-expression": import("../state.js").State.ON;
60
- readonly "ts/no-duplicate-enum-values": import("../state.js").State.ON;
61
- readonly "ts/no-duplicate-type-constituents": import("../state.js").State.ON;
62
- readonly "ts/no-dynamic-delete": import("../state.js").State.ON;
63
- readonly "ts/no-empty-object-type": import("../state.js").State.ON;
64
- readonly "ts/no-explicit-any": readonly [
65
- import("../state.js").State.ON,
66
- {
67
- readonly fixToUnknown: true;
68
- }
69
- ];
70
- readonly "ts/no-extra-non-null-assertion": import("../state.js").State.ON;
71
- readonly "ts/no-extraneous-class": readonly [
72
- import("../state.js").State.ON,
73
- {
74
- readonly allowEmpty: true;
75
- }
76
- ];
77
- readonly "ts/no-floating-promises": readonly [
78
- import("../state.js").State.ON,
79
- {
80
- readonly checkThenables: true;
81
- }
82
- ];
83
- readonly "ts/no-for-in-array": import("../state.js").State.ON;
84
- readonly "ts/no-import-type-side-effects": import("../state.js").State.ON;
85
- readonly "ts/no-inferrable-types": import("../state.js").State.ON;
86
- readonly "ts/no-meaningless-void-operator": readonly [
87
- import("../state.js").State.ON,
88
- {
89
- readonly checkNever: true;
90
- }
91
- ];
92
- readonly "ts/no-misused-new": import("../state.js").State.ON;
93
- readonly "ts/no-misused-promises": import("../state.js").State.ON;
94
- readonly "ts/no-misused-spread": import("../state.js").State.ON;
95
- readonly "ts/no-mixed-enums": import("../state.js").State.ON;
96
- readonly "ts/no-non-null-asserted-nullish-coalescing": import("../state.js").State.ON;
97
- readonly "ts/no-non-null-asserted-optional-chain": import("../state.js").State.ON;
98
- readonly "ts/no-redundant-type-constituents": import("../state.js").State.ON;
99
- readonly "ts/no-require-imports": import("../state.js").State.ON;
100
- readonly "ts/no-this-alias": import("../state.js").State.ON;
101
- readonly "ts/no-unnecessary-boolean-literal-compare": import("../state.js").State.ON;
102
- readonly "ts/no-unnecessary-condition": import("../state.js").State.ON;
103
- readonly "ts/no-unnecessary-parameter-property-assignment": import("../state.js").State.ON;
104
- readonly "ts/no-unnecessary-qualifier": import("../state.js").State.ON;
105
- readonly "ts/no-unnecessary-template-expression": import("../state.js").State.ON;
106
- readonly "ts/no-unnecessary-type-arguments": import("../state.js").State.ON;
107
- readonly "ts/no-unnecessary-type-assertion": import("../state.js").State.ON;
108
- readonly "ts/no-unnecessary-type-constraint": import("../state.js").State.ON;
109
- readonly "ts/no-unnecessary-type-conversion": import("../state.js").State.ON;
110
- readonly "ts/no-unnecessary-type-parameters": import("../state.js").State.ON;
111
- readonly "ts/no-unsafe-argument": import("../state.js").State.ON;
112
- readonly "ts/no-unsafe-assignment": import("../state.js").State.ON;
113
- readonly "ts/no-unsafe-call": import("../state.js").State.ON;
114
- readonly "ts/no-unsafe-declaration-merging": import("../state.js").State.ON;
115
- readonly "ts/no-unsafe-enum-comparison": import("../state.js").State.ON;
116
- readonly "ts/no-unsafe-function-type": import("../state.js").State.ON;
117
- readonly "ts/no-unsafe-member-access": readonly [
118
- import("../state.js").State.ON,
119
- {
120
- readonly allowOptionalChaining: true;
121
- }
122
- ];
123
- readonly "ts/no-unsafe-return": import("../state.js").State.ON;
124
- readonly "ts/no-unsafe-unary-minus": import("../state.js").State.ON;
125
- readonly "ts/no-useless-empty-export": import("../state.js").State.ON;
126
- readonly "ts/no-wrapper-object-types": import("../state.js").State.ON;
127
- readonly "ts/parameter-properties": readonly [
128
- import("../state.js").State.ON,
129
- {
130
- readonly prefer: "parameter-property";
131
- }
132
- ];
133
- readonly "ts/prefer-as-const": import("../state.js").State.ON;
134
- readonly "ts/prefer-find": import("../state.js").State.ON;
135
- readonly "ts/prefer-for-of": import("../state.js").State.ON;
136
- readonly "ts/prefer-function-type": import("../state.js").State.ON;
137
- readonly "ts/prefer-includes": import("../state.js").State.ON;
138
- readonly "ts/prefer-literal-enum-member": import("../state.js").State.ON;
139
- readonly "ts/prefer-namespace-keyword": import("../state.js").State.ON;
140
- readonly "ts/prefer-nullish-coalescing": import("../state.js").State.ON;
141
- readonly "ts/prefer-optional-chain": import("../state.js").State.ON;
142
- readonly "ts/prefer-readonly": import("../state.js").State.ON;
143
- readonly "ts/prefer-reduce-type-parameter": import("../state.js").State.ON;
144
- readonly "ts/prefer-regexp-exec": import("../state.js").State.ON;
145
- readonly "ts/prefer-return-this-type": import("../state.js").State.ON;
146
- readonly "ts/prefer-string-starts-ends-with": import("../state.js").State.ON;
147
- readonly "ts/promise-function-async": import("../state.js").State.ON;
148
- readonly "ts/related-getter-setter-pairs": import("../state.js").State.ON;
149
- readonly "ts/require-array-sort-compare": import("../state.js").State.ON;
150
- readonly "ts/restrict-plus-operands": readonly [
151
- import("../state.js").State.ON,
152
- {
153
- readonly allowAny: false;
154
- readonly allowBoolean: false;
155
- readonly allowNullish: false;
156
- readonly allowNumberAndString: false;
157
- readonly allowRegExp: false;
158
- }
159
- ];
160
- readonly "ts/restrict-template-expressions": readonly [
161
- import("../state.js").State.ON,
162
- {
163
- readonly allowNullish: false;
164
- readonly allowNever: false;
165
- readonly allowRegExp: false;
166
- }
167
- ];
168
- readonly "ts/return-await": import("../state.js").State.ON;
169
- readonly "ts/strict-boolean-expressions": readonly [
170
- import("../state.js").State.ON,
171
- {
172
- readonly allowNullableObject: false;
173
- readonly allowString: false;
174
- }
175
- ];
176
- readonly "ts/switch-exhaustiveness-check": readonly [
177
- import("../state.js").State.ON,
178
- {
179
- readonly requireDefaultForNonUnion: true;
180
- readonly considerDefaultExhaustiveForUnions: true;
181
- }
182
- ];
183
- readonly "ts/unbound-method": import("../state.js").State.ON;
184
- readonly "ts/use-unknown-in-catch-callback-variable": import("../state.js").State.ON;
25
+ readonly "ts/await-thenable": State.ON;
26
+ readonly "ts/ban-ts-comment": State.ON;
27
+ readonly "ts/ban-tslint-comment": State.ON;
28
+ readonly "ts/class-literal-property-style": State.ON;
29
+ readonly "ts/consistent-generic-constructors": State.ON;
30
+ readonly "ts/consistent-type-assertions": readonly [State.ON, {
31
+ readonly arrayLiteralTypeAssertions: "never";
32
+ readonly objectLiteralTypeAssertions: "never";
33
+ }];
34
+ readonly "ts/consistent-type-exports": State.ON;
35
+ readonly "ts/consistent-type-imports": State.ON;
36
+ readonly "ts/explicit-member-accessibility": readonly [State.ON, {
37
+ readonly overrides: {
38
+ readonly constructors: "no-public";
39
+ };
40
+ }];
41
+ readonly "ts/member-ordering": readonly [State.ON, {
42
+ readonly default: {
43
+ readonly optionalityOrder: "required-first";
44
+ };
45
+ }];
46
+ readonly "ts/method-signature-style": State.ON;
47
+ readonly "ts/no-array-delete": State.ON;
48
+ readonly "ts/no-base-to-string": State.ON;
49
+ readonly "ts/no-confusing-non-null-assertion": State.ON;
50
+ readonly "ts/no-confusing-void-expression": State.ON;
51
+ readonly "ts/no-duplicate-enum-values": State.ON;
52
+ readonly "ts/no-duplicate-type-constituents": State.ON;
53
+ readonly "ts/no-dynamic-delete": State.ON;
54
+ readonly "ts/no-empty-object-type": State.ON;
55
+ readonly "ts/no-explicit-any": readonly [State.ON, {
56
+ readonly fixToUnknown: true;
57
+ }];
58
+ readonly "ts/no-extra-non-null-assertion": State.ON;
59
+ readonly "ts/no-extraneous-class": readonly [State.ON, {
60
+ readonly allowEmpty: true;
61
+ }];
62
+ readonly "ts/no-floating-promises": readonly [State.ON, {
63
+ readonly checkThenables: true;
64
+ }];
65
+ readonly "ts/no-for-in-array": State.ON;
66
+ readonly "ts/no-import-type-side-effects": State.ON;
67
+ readonly "ts/no-inferrable-types": State.ON;
68
+ readonly "ts/no-meaningless-void-operator": readonly [State.ON, {
69
+ readonly checkNever: true;
70
+ }];
71
+ readonly "ts/no-misused-new": State.ON;
72
+ readonly "ts/no-misused-promises": State.ON;
73
+ readonly "ts/no-misused-spread": State.ON;
74
+ readonly "ts/no-mixed-enums": State.ON;
75
+ readonly "ts/no-non-null-asserted-nullish-coalescing": State.ON;
76
+ readonly "ts/no-non-null-asserted-optional-chain": State.ON;
77
+ readonly "ts/no-redundant-type-constituents": State.ON;
78
+ readonly "ts/no-require-imports": State.ON;
79
+ readonly "ts/no-this-alias": State.ON;
80
+ readonly "ts/no-unnecessary-boolean-literal-compare": State.ON;
81
+ readonly "ts/no-unnecessary-condition": State.ON;
82
+ readonly "ts/no-unnecessary-parameter-property-assignment": State.ON;
83
+ readonly "ts/no-unnecessary-qualifier": State.ON;
84
+ readonly "ts/no-unnecessary-template-expression": State.ON;
85
+ readonly "ts/no-unnecessary-type-arguments": State.ON;
86
+ readonly "ts/no-unnecessary-type-assertion": State.ON;
87
+ readonly "ts/no-unnecessary-type-constraint": State.ON;
88
+ readonly "ts/no-unnecessary-type-conversion": State.ON;
89
+ readonly "ts/no-unnecessary-type-parameters": State.ON;
90
+ readonly "ts/no-unsafe-argument": State.ON;
91
+ readonly "ts/no-unsafe-assignment": State.ON;
92
+ readonly "ts/no-unsafe-call": State.ON;
93
+ readonly "ts/no-unsafe-declaration-merging": State.ON;
94
+ readonly "ts/no-unsafe-enum-comparison": State.ON;
95
+ readonly "ts/no-unsafe-function-type": State.ON;
96
+ readonly "ts/no-unsafe-member-access": readonly [State.ON, {
97
+ readonly allowOptionalChaining: true;
98
+ }];
99
+ readonly "ts/no-unsafe-return": State.ON;
100
+ readonly "ts/no-unsafe-unary-minus": State.ON;
101
+ readonly "ts/no-useless-empty-export": State.ON;
102
+ readonly "ts/no-wrapper-object-types": State.ON;
103
+ readonly "ts/parameter-properties": readonly [State.ON, {
104
+ readonly prefer: "parameter-property";
105
+ }];
106
+ readonly "ts/prefer-as-const": State.ON;
107
+ readonly "ts/prefer-find": State.ON;
108
+ readonly "ts/prefer-for-of": State.ON;
109
+ readonly "ts/prefer-function-type": State.ON;
110
+ readonly "ts/prefer-includes": State.ON;
111
+ readonly "ts/prefer-literal-enum-member": State.ON;
112
+ readonly "ts/prefer-namespace-keyword": State.ON;
113
+ readonly "ts/prefer-nullish-coalescing": State.ON;
114
+ readonly "ts/prefer-optional-chain": State.ON;
115
+ readonly "ts/prefer-readonly": State.ON;
116
+ readonly "ts/prefer-reduce-type-parameter": State.ON;
117
+ readonly "ts/prefer-regexp-exec": State.ON;
118
+ readonly "ts/prefer-return-this-type": State.ON;
119
+ readonly "ts/prefer-string-starts-ends-with": State.ON;
120
+ readonly "ts/promise-function-async": State.ON;
121
+ readonly "ts/related-getter-setter-pairs": State.ON;
122
+ readonly "ts/require-array-sort-compare": State.ON;
123
+ readonly "ts/restrict-plus-operands": readonly [State.ON, {
124
+ readonly allowAny: false;
125
+ readonly allowBoolean: false;
126
+ readonly allowNullish: false;
127
+ readonly allowNumberAndString: false;
128
+ readonly allowRegExp: false;
129
+ }];
130
+ readonly "ts/restrict-template-expressions": readonly [State.ON, {
131
+ readonly allowNullish: false;
132
+ readonly allowNever: false;
133
+ readonly allowRegExp: false;
134
+ }];
135
+ readonly "ts/return-await": State.ON;
136
+ readonly "ts/strict-boolean-expressions": readonly [State.ON, {
137
+ readonly allowNullableObject: false;
138
+ readonly allowString: false;
139
+ }];
140
+ readonly "ts/switch-exhaustiveness-check": readonly [State.ON, {
141
+ readonly requireDefaultForNonUnion: true;
142
+ readonly considerDefaultExhaustiveForUnions: true;
143
+ }];
144
+ readonly "ts/unbound-method": State.ON;
145
+ readonly "ts/use-unknown-in-catch-callback-variable": State.ON;
185
146
  };
186
147
  } | {
187
148
  rules: {
188
- readonly "dot-notation": import("../state.js").State.OFF;
189
- readonly "ts/dot-notation": readonly [
190
- import("../state.js").State.ON,
191
- {
192
- readonly allowPrivateClassPropertyAccess: true;
193
- readonly allowProtectedClassPropertyAccess: true;
194
- readonly allowIndexSignaturePropertyAccess: true;
195
- }
196
- ];
197
- readonly "no-implied-eval": import("../state.js").State.OFF;
198
- readonly "ts/no-implied-eval": import("../state.js").State.ON;
199
- readonly "no-restricted-imports": import("../state.js").State.OFF;
200
- readonly "no-unused-vars": import("../state.js").State.OFF;
201
- readonly "ts/no-unused-vars": import("../state.js").State.ON;
202
- readonly "no-throw-literal": import("../state.js").State.OFF;
203
- readonly "ts/only-throw-error": readonly [
204
- import("../state.js").State.ON,
205
- {
206
- readonly allowThrowingAny: false;
207
- }
208
- ];
209
- readonly "prefer-destructuring": import("../state.js").State.OFF;
210
- readonly "ts/prefer-destructuring": readonly [
211
- import("../state.js").State.ON,
212
- {
213
- readonly AssignmentExpression: {
214
- readonly array: false;
215
- readonly object: false;
216
- };
217
- }
218
- ];
219
- readonly "prefer-promise-reject-errors": import("../state.js").State.OFF;
220
- readonly "ts/prefer-promise-reject-errors": readonly [
221
- import("../state.js").State.ON,
222
- {
223
- readonly allowThrowingUnknown: true;
224
- }
225
- ];
226
- readonly "require-await": import("../state.js").State.OFF;
227
- readonly "ts/require-await": import("../state.js").State.ON;
149
+ readonly "dot-notation": State.OFF;
150
+ readonly "ts/dot-notation": readonly [State.ON, {
151
+ readonly allowPrivateClassPropertyAccess: true;
152
+ readonly allowProtectedClassPropertyAccess: true;
153
+ readonly allowIndexSignaturePropertyAccess: true;
154
+ }];
155
+ readonly "no-implied-eval": State.OFF;
156
+ readonly "ts/no-implied-eval": State.ON;
157
+ readonly "no-restricted-imports": State.OFF;
158
+ readonly "no-unused-vars": State.OFF;
159
+ readonly "ts/no-unused-vars": State.ON;
160
+ readonly "no-throw-literal": State.OFF;
161
+ readonly "ts/only-throw-error": readonly [State.ON, {
162
+ readonly allowThrowingAny: false;
163
+ }];
164
+ readonly "prefer-destructuring": State.OFF;
165
+ readonly "ts/prefer-destructuring": readonly [State.ON, {
166
+ readonly AssignmentExpression: {
167
+ readonly array: false;
168
+ readonly object: false;
169
+ };
170
+ }];
171
+ readonly "prefer-promise-reject-errors": State.OFF;
172
+ readonly "ts/prefer-promise-reject-errors": readonly [State.ON, {
173
+ readonly allowThrowingUnknown: true;
174
+ }];
175
+ readonly "require-await": State.OFF;
176
+ readonly "ts/require-await": State.ON;
228
177
  };
229
178
  })[];
230
179
  export default _default;
231
- //# sourceMappingURL=index.d.ts.map
180
+ //# sourceMappingURL=index.d.ts.map