linted 15.4.7 → 15.4.8-rc.1

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 (144) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js.map +1 -1
  4. package/dist/rulesets/HtmlRuleset.d.ts +4 -3
  5. package/dist/rulesets/HtmlRuleset.d.ts.map +1 -1
  6. package/dist/rulesets/HtmlRuleset.js +4 -3
  7. package/dist/rulesets/HtmlRuleset.js.map +1 -1
  8. package/dist/rulesets/JsRuleset.d.ts +750 -3
  9. package/dist/rulesets/JsRuleset.d.ts.map +1 -1
  10. package/dist/rulesets/JsRuleset.js +4 -3
  11. package/dist/rulesets/JsRuleset.js.map +1 -1
  12. package/dist/rulesets/JsonRuleset.d.ts +73 -3
  13. package/dist/rulesets/JsonRuleset.d.ts.map +1 -1
  14. package/dist/rulesets/JsonRuleset.js +4 -3
  15. package/dist/rulesets/JsonRuleset.js.map +1 -1
  16. package/dist/rulesets/JsoncRuleset.d.ts +76 -3
  17. package/dist/rulesets/JsoncRuleset.d.ts.map +1 -1
  18. package/dist/rulesets/JsoncRuleset.js +4 -3
  19. package/dist/rulesets/JsoncRuleset.js.map +1 -1
  20. package/dist/rulesets/MdRuleset.d.ts +40 -3
  21. package/dist/rulesets/MdRuleset.d.ts.map +1 -1
  22. package/dist/rulesets/MdRuleset.js +1 -3
  23. package/dist/rulesets/MdRuleset.js.map +1 -1
  24. package/dist/rulesets/SvelteRuleset.d.ts +1251 -3
  25. package/dist/rulesets/SvelteRuleset.d.ts.map +1 -1
  26. package/dist/rulesets/SvelteRuleset.js +8 -3
  27. package/dist/rulesets/SvelteRuleset.js.map +1 -1
  28. package/dist/rulesets/TsRuleset.d.ts +1118 -3
  29. package/dist/rulesets/TsRuleset.d.ts.map +1 -1
  30. package/dist/rulesets/TsRuleset.js +7 -3
  31. package/dist/rulesets/TsRuleset.js.map +1 -1
  32. package/dist/rulesets/YmlRuleset.d.ts +72 -3
  33. package/dist/rulesets/YmlRuleset.d.ts.map +1 -1
  34. package/dist/rulesets/YmlRuleset.js +4 -3
  35. package/dist/rulesets/YmlRuleset.js.map +1 -1
  36. package/dist/rulesets/rules/html/HtmlEnable.d.ts +4 -3
  37. package/dist/rulesets/rules/html/HtmlEnable.d.ts.map +1 -1
  38. package/dist/rulesets/rules/html/HtmlEnable.js +4 -3
  39. package/dist/rulesets/rules/html/HtmlEnable.js.map +1 -1
  40. package/dist/rulesets/rules/html/HtmlRecommended.d.ts +2 -3
  41. package/dist/rulesets/rules/html/HtmlRecommended.d.ts.map +1 -1
  42. package/dist/rulesets/rules/html/HtmlRecommended.js +4 -3
  43. package/dist/rulesets/rules/html/HtmlRecommended.js.map +1 -1
  44. package/dist/rulesets/rules/js/JsEnable.d.ts +339 -3
  45. package/dist/rulesets/rules/js/JsEnable.d.ts.map +1 -1
  46. package/dist/rulesets/rules/js/JsEnable.js +448 -447
  47. package/dist/rulesets/rules/js/JsEnable.js.map +1 -1
  48. package/dist/rulesets/rules/js/StylisticEnable.d.ts +413 -3
  49. package/dist/rulesets/rules/js/StylisticEnable.d.ts.map +1 -1
  50. package/dist/rulesets/rules/js/StylisticEnable.js +653 -652
  51. package/dist/rulesets/rules/js/StylisticEnable.js.map +1 -1
  52. package/dist/rulesets/rules/json/JsonEnable.d.ts +26 -3
  53. package/dist/rulesets/rules/json/JsonEnable.d.ts.map +1 -1
  54. package/dist/rulesets/rules/json/JsonEnable.js +28 -27
  55. package/dist/rulesets/rules/json/JsonEnable.js.map +1 -1
  56. package/dist/rulesets/rules/json/JsonEnableX.d.ts +49 -3
  57. package/dist/rulesets/rules/json/JsonEnableX.d.ts.map +1 -1
  58. package/dist/rulesets/rules/json/JsonEnableX.js +89 -88
  59. package/dist/rulesets/rules/json/JsonEnableX.js.map +1 -1
  60. package/dist/rulesets/rules/jsonc/JsoncOverride.d.ts +5 -3
  61. package/dist/rulesets/rules/jsonc/JsoncOverride.d.ts.map +1 -1
  62. package/dist/rulesets/rules/jsonc/JsoncOverride.js +10 -9
  63. package/dist/rulesets/rules/jsonc/JsoncOverride.js.map +1 -1
  64. package/dist/rulesets/rules/md/MdEnable.d.ts +40 -3
  65. package/dist/rulesets/rules/md/MdEnable.d.ts.map +1 -1
  66. package/dist/rulesets/rules/md/MdEnable.js +59 -58
  67. package/dist/rulesets/rules/md/MdEnable.js.map +1 -1
  68. package/dist/rulesets/rules/svelte/SvelteDisableJS.d.ts +5 -3
  69. package/dist/rulesets/rules/svelte/SvelteDisableJS.d.ts.map +1 -1
  70. package/dist/rulesets/rules/svelte/SvelteDisableJS.js +7 -6
  71. package/dist/rulesets/rules/svelte/SvelteDisableJS.js.map +1 -1
  72. package/dist/rulesets/rules/svelte/SvelteDisableTS.d.ts +4 -3
  73. package/dist/rulesets/rules/svelte/SvelteDisableTS.d.ts.map +1 -1
  74. package/dist/rulesets/rules/svelte/SvelteDisableTS.js +4 -3
  75. package/dist/rulesets/rules/svelte/SvelteDisableTS.js.map +1 -1
  76. package/dist/rulesets/rules/svelte/SvelteDisableX.d.ts +4 -3
  77. package/dist/rulesets/rules/svelte/SvelteDisableX.d.ts.map +1 -1
  78. package/dist/rulesets/rules/svelte/SvelteDisableX.js +6 -5
  79. package/dist/rulesets/rules/svelte/SvelteDisableX.js.map +1 -1
  80. package/dist/rulesets/rules/svelte/SvelteEnable.d.ts +125 -3
  81. package/dist/rulesets/rules/svelte/SvelteEnable.d.ts.map +1 -1
  82. package/dist/rulesets/rules/svelte/SvelteEnable.js +174 -173
  83. package/dist/rulesets/rules/svelte/SvelteEnable.js.map +1 -1
  84. package/dist/rulesets/rules/svelte/SvelteEnableX.d.ts +5 -3
  85. package/dist/rulesets/rules/svelte/SvelteEnableX.d.ts.map +1 -1
  86. package/dist/rulesets/rules/svelte/SvelteEnableX.js +10 -9
  87. package/dist/rulesets/rules/svelte/SvelteEnableX.js.map +1 -1
  88. package/dist/rulesets/rules/ts/TsDisableCompiler.d.ts +17 -3
  89. package/dist/rulesets/rules/ts/TsDisableCompiler.d.ts.map +1 -1
  90. package/dist/rulesets/rules/ts/TsDisableCompiler.js +19 -18
  91. package/dist/rulesets/rules/ts/TsDisableCompiler.js.map +1 -1
  92. package/dist/rulesets/rules/ts/TsDisableX.d.ts +29 -3
  93. package/dist/rulesets/rules/ts/TsDisableX.d.ts.map +1 -1
  94. package/dist/rulesets/rules/ts/TsDisableX.js +31 -30
  95. package/dist/rulesets/rules/ts/TsDisableX.js.map +1 -1
  96. package/dist/rulesets/rules/ts/TsEnable.d.ts +259 -3
  97. package/dist/rulesets/rules/ts/TsEnable.d.ts.map +1 -1
  98. package/dist/rulesets/rules/ts/TsEnable.js +484 -483
  99. package/dist/rulesets/rules/ts/TsEnable.js.map +1 -1
  100. package/dist/rulesets/rules/ts/TsEnableX.d.ts +71 -3
  101. package/dist/rulesets/rules/ts/TsEnableX.d.ts.map +1 -1
  102. package/dist/rulesets/rules/ts/TsEnableX.js +105 -104
  103. package/dist/rulesets/rules/ts/TsEnableX.js.map +1 -1
  104. package/dist/rulesets/rules/yml/YmlEnable.d.ts +38 -3
  105. package/dist/rulesets/rules/yml/YmlEnable.d.ts.map +1 -1
  106. package/dist/rulesets/rules/yml/YmlEnable.js +66 -65
  107. package/dist/rulesets/rules/yml/YmlEnable.js.map +1 -1
  108. package/dist/rulesets/rules/yml/YmlEnableX.d.ts +36 -3
  109. package/dist/rulesets/rules/yml/YmlEnableX.d.ts.map +1 -1
  110. package/dist/rulesets/rules/yml/YmlEnableX.js +64 -63
  111. package/dist/rulesets/rules/yml/YmlEnableX.js.map +1 -1
  112. package/dist/rulesets.d.ts +3337 -8
  113. package/dist/rulesets.d.ts.map +1 -1
  114. package/dist/rulesets.js.map +1 -1
  115. package/package.json +2 -2
  116. package/src/index.ts +2 -2
  117. package/src/rulesets/HtmlRuleset.ts +3 -6
  118. package/src/rulesets/JsRuleset.ts +3 -6
  119. package/src/rulesets/JsonRuleset.ts +3 -6
  120. package/src/rulesets/JsoncRuleset.ts +4 -7
  121. package/src/rulesets/MdRuleset.ts +2 -7
  122. package/src/rulesets/SvelteRuleset.ts +4 -7
  123. package/src/rulesets/TsRuleset.ts +4 -7
  124. package/src/rulesets/YmlRuleset.ts +3 -6
  125. package/src/rulesets/rules/html/HtmlEnable.ts +3 -5
  126. package/src/rulesets/rules/html/HtmlRecommended.ts +4 -6
  127. package/src/rulesets/rules/js/JsEnable.ts +3 -5
  128. package/src/rulesets/rules/js/StylisticEnable.ts +3 -5
  129. package/src/rulesets/rules/json/JsonEnable.ts +3 -5
  130. package/src/rulesets/rules/json/JsonEnableX.ts +3 -5
  131. package/src/rulesets/rules/jsonc/JsoncOverride.ts +3 -5
  132. package/src/rulesets/rules/md/MdEnable.ts +3 -5
  133. package/src/rulesets/rules/svelte/SvelteDisableJS.ts +3 -5
  134. package/src/rulesets/rules/svelte/SvelteDisableTS.ts +3 -5
  135. package/src/rulesets/rules/svelte/SvelteDisableX.ts +3 -5
  136. package/src/rulesets/rules/svelte/SvelteEnable.ts +3 -5
  137. package/src/rulesets/rules/svelte/SvelteEnableX.ts +3 -5
  138. package/src/rulesets/rules/ts/TsDisableCompiler.ts +3 -5
  139. package/src/rulesets/rules/ts/TsDisableX.ts +3 -5
  140. package/src/rulesets/rules/ts/TsEnable.ts +3 -5
  141. package/src/rulesets/rules/ts/TsEnableX.ts +3 -5
  142. package/src/rulesets/rules/yml/YmlEnable.ts +3 -5
  143. package/src/rulesets/rules/yml/YmlEnableX.ts +3 -5
  144. package/src/rulesets.ts +2 -2
@@ -1,491 +1,492 @@
1
- import { Rule } from "@eslinted/core";
2
1
  import { ERROR, OFF, NEVER, } from "../state.js";
3
2
  import { Enable } from "../id.js";
4
- const TsEnable = new Rule(Enable, {
5
- "@typescript-eslint/adjacent-overload-signatures": OFF,
6
- "@typescript-eslint/array-type": [
7
- ERROR,
8
- {
9
- "default": "array",
10
- readonly: "array",
11
- },
12
- ],
13
- "@typescript-eslint/await-thenable": ERROR,
14
- "@typescript-eslint/ban-ts-comment": [
15
- ERROR,
16
- {
17
- "ts-check": false,
18
- "ts-expect-error": true,
19
- "ts-ignore": true,
20
- "ts-nocheck": true,
21
- minimumDescriptionLength: 10,
22
- },
23
- ],
24
- "@typescript-eslint/ban-tslint-comment": ERROR,
25
- "@typescript-eslint/ban-types": ERROR,
26
- "@typescript-eslint/class-literal-property-style": [
27
- ERROR,
28
- "fields",
29
- ],
30
- "@typescript-eslint/consistent-generic-constructors": [
31
- ERROR,
32
- "constructor",
33
- ],
34
- "@typescript-eslint/consistent-indexed-object-style": [
35
- ERROR,
36
- "record",
37
- ],
38
- "@typescript-eslint/consistent-type-assertions": [
39
- ERROR,
40
- {
41
- assertionStyle: "as",
42
- objectLiteralTypeAssertions: NEVER,
43
- },
44
- ],
45
- "@typescript-eslint/consistent-type-definitions": OFF,
46
- "@typescript-eslint/consistent-type-exports": [
47
- ERROR,
48
- { fixMixedExportsWithInlineTypeSpecifier: false },
49
- ],
50
- "@typescript-eslint/consistent-type-imports": [
51
- ERROR,
52
- {
53
- disallowTypeAnnotations: true,
54
- fixStyle: "separate-type-imports",
55
- prefer: "type-imports",
56
- },
57
- ],
58
- "@typescript-eslint/explicit-function-return-type": OFF,
59
- "@typescript-eslint/explicit-member-accessibility": [
60
- ERROR,
61
- {
62
- accessibility: "explicit",
63
- ignoredMethodNames: [],
64
- overrides: {
65
- properties: "explicit",
66
- constructors: "no-public",
67
- accessors: "explicit",
68
- methods: "explicit",
69
- parameterProperties: "explicit",
3
+ export default [
4
+ Enable,
5
+ {
6
+ "@typescript-eslint/adjacent-overload-signatures": OFF,
7
+ "@typescript-eslint/array-type": [
8
+ ERROR,
9
+ {
10
+ "default": "array",
11
+ readonly: "array",
70
12
  },
71
- },
72
- ],
73
- "@typescript-eslint/explicit-module-boundary-types": OFF,
74
- "@typescript-eslint/member-ordering": [
75
- ERROR,
76
- {
77
- "default": {
78
- memberTypes: [
79
- "signature",
80
- "call-signature",
81
- "public-static-field",
82
- "protected-static-field",
83
- "private-static-field",
84
- "#private-static-field",
85
- "public-decorated-field",
86
- "protected-decorated-field",
87
- "private-decorated-field",
88
- "public-instance-field",
89
- "protected-instance-field",
90
- "private-instance-field",
91
- "#private-instance-field",
92
- "public-abstract-field",
93
- "protected-abstract-field",
94
- "public-field",
95
- "protected-field",
96
- "private-field",
97
- "#private-field",
98
- "static-field",
99
- "instance-field",
100
- "abstract-field",
101
- "decorated-field",
102
- "field",
103
- "static-initialization",
104
- "public-constructor",
105
- "protected-constructor",
106
- "private-constructor",
107
- "constructor",
108
- "public-static-accessor",
109
- "protected-static-accessor",
110
- "private-static-accessor",
111
- "#private-static-accessor",
112
- "public-decorated-accessor",
113
- "protected-decorated-accessor",
114
- "private-decorated-accessor",
115
- "public-instance-accessor",
116
- "protected-instance-accessor",
117
- "private-instance-accessor",
118
- "#private-instance-accessor",
119
- "public-abstract-accessor",
120
- "protected-abstract-accessor",
121
- "public-accessor",
122
- "protected-accessor",
123
- "private-accessor",
124
- "#private-accessor",
125
- "static-accessor",
126
- "instance-accessor",
127
- "abstract-accessor",
128
- "decorated-accessor",
129
- "accessor",
130
- "public-static-get",
131
- "protected-static-get",
132
- "private-static-get",
133
- "#private-static-get",
134
- "public-decorated-get",
135
- "protected-decorated-get",
136
- "private-decorated-get",
137
- "public-instance-get",
138
- "protected-instance-get",
139
- "private-instance-get",
140
- "#private-instance-get",
141
- "public-abstract-get",
142
- "protected-abstract-get",
143
- "public-get",
144
- "protected-get",
145
- "private-get",
146
- "#private-get",
147
- "static-get",
148
- "instance-get",
149
- "abstract-get",
150
- "decorated-get",
151
- "get",
152
- "public-static-set",
153
- "protected-static-set",
154
- "private-static-set",
155
- "#private-static-set",
156
- "public-decorated-set",
157
- "protected-decorated-set",
158
- "private-decorated-set",
159
- "public-instance-set",
160
- "protected-instance-set",
161
- "private-instance-set",
162
- "#private-instance-set",
163
- "public-abstract-set",
164
- "protected-abstract-set",
165
- "public-set",
166
- "protected-set",
167
- "private-set",
168
- "#private-set",
169
- "static-set",
170
- "instance-set",
171
- "abstract-set",
172
- "decorated-set",
173
- "set",
174
- "public-static-method",
175
- "protected-static-method",
176
- "private-static-method",
177
- "#private-static-method",
178
- "public-decorated-method",
179
- "protected-decorated-method",
180
- "private-decorated-method",
181
- "public-instance-method",
182
- "protected-instance-method",
183
- "private-instance-method",
184
- "#private-instance-method",
185
- "public-abstract-method",
186
- "protected-abstract-method",
187
- "public-method",
188
- "protected-method",
189
- "private-method",
190
- "#private-method",
191
- "static-method",
192
- "instance-method",
193
- "abstract-method",
194
- "decorated-method",
195
- "method",
13
+ ],
14
+ "@typescript-eslint/await-thenable": ERROR,
15
+ "@typescript-eslint/ban-ts-comment": [
16
+ ERROR,
17
+ {
18
+ "ts-check": false,
19
+ "ts-expect-error": true,
20
+ "ts-ignore": true,
21
+ "ts-nocheck": true,
22
+ minimumDescriptionLength: 10,
23
+ },
24
+ ],
25
+ "@typescript-eslint/ban-tslint-comment": ERROR,
26
+ "@typescript-eslint/ban-types": ERROR,
27
+ "@typescript-eslint/class-literal-property-style": [
28
+ ERROR,
29
+ "fields",
30
+ ],
31
+ "@typescript-eslint/consistent-generic-constructors": [
32
+ ERROR,
33
+ "constructor",
34
+ ],
35
+ "@typescript-eslint/consistent-indexed-object-style": [
36
+ ERROR,
37
+ "record",
38
+ ],
39
+ "@typescript-eslint/consistent-type-assertions": [
40
+ ERROR,
41
+ {
42
+ assertionStyle: "as",
43
+ objectLiteralTypeAssertions: NEVER,
44
+ },
45
+ ],
46
+ "@typescript-eslint/consistent-type-definitions": OFF,
47
+ "@typescript-eslint/consistent-type-exports": [
48
+ ERROR,
49
+ { fixMixedExportsWithInlineTypeSpecifier: false },
50
+ ],
51
+ "@typescript-eslint/consistent-type-imports": [
52
+ ERROR,
53
+ {
54
+ disallowTypeAnnotations: true,
55
+ fixStyle: "separate-type-imports",
56
+ prefer: "type-imports",
57
+ },
58
+ ],
59
+ "@typescript-eslint/explicit-function-return-type": OFF,
60
+ "@typescript-eslint/explicit-member-accessibility": [
61
+ ERROR,
62
+ {
63
+ accessibility: "explicit",
64
+ ignoredMethodNames: [],
65
+ overrides: {
66
+ properties: "explicit",
67
+ constructors: "no-public",
68
+ accessors: "explicit",
69
+ methods: "explicit",
70
+ parameterProperties: "explicit",
71
+ },
72
+ },
73
+ ],
74
+ "@typescript-eslint/explicit-module-boundary-types": OFF,
75
+ "@typescript-eslint/member-ordering": [
76
+ ERROR,
77
+ {
78
+ "default": {
79
+ memberTypes: [
80
+ "signature",
81
+ "call-signature",
82
+ "public-static-field",
83
+ "protected-static-field",
84
+ "private-static-field",
85
+ "#private-static-field",
86
+ "public-decorated-field",
87
+ "protected-decorated-field",
88
+ "private-decorated-field",
89
+ "public-instance-field",
90
+ "protected-instance-field",
91
+ "private-instance-field",
92
+ "#private-instance-field",
93
+ "public-abstract-field",
94
+ "protected-abstract-field",
95
+ "public-field",
96
+ "protected-field",
97
+ "private-field",
98
+ "#private-field",
99
+ "static-field",
100
+ "instance-field",
101
+ "abstract-field",
102
+ "decorated-field",
103
+ "field",
104
+ "static-initialization",
105
+ "public-constructor",
106
+ "protected-constructor",
107
+ "private-constructor",
108
+ "constructor",
109
+ "public-static-accessor",
110
+ "protected-static-accessor",
111
+ "private-static-accessor",
112
+ "#private-static-accessor",
113
+ "public-decorated-accessor",
114
+ "protected-decorated-accessor",
115
+ "private-decorated-accessor",
116
+ "public-instance-accessor",
117
+ "protected-instance-accessor",
118
+ "private-instance-accessor",
119
+ "#private-instance-accessor",
120
+ "public-abstract-accessor",
121
+ "protected-abstract-accessor",
122
+ "public-accessor",
123
+ "protected-accessor",
124
+ "private-accessor",
125
+ "#private-accessor",
126
+ "static-accessor",
127
+ "instance-accessor",
128
+ "abstract-accessor",
129
+ "decorated-accessor",
130
+ "accessor",
131
+ "public-static-get",
132
+ "protected-static-get",
133
+ "private-static-get",
134
+ "#private-static-get",
135
+ "public-decorated-get",
136
+ "protected-decorated-get",
137
+ "private-decorated-get",
138
+ "public-instance-get",
139
+ "protected-instance-get",
140
+ "private-instance-get",
141
+ "#private-instance-get",
142
+ "public-abstract-get",
143
+ "protected-abstract-get",
144
+ "public-get",
145
+ "protected-get",
146
+ "private-get",
147
+ "#private-get",
148
+ "static-get",
149
+ "instance-get",
150
+ "abstract-get",
151
+ "decorated-get",
152
+ "get",
153
+ "public-static-set",
154
+ "protected-static-set",
155
+ "private-static-set",
156
+ "#private-static-set",
157
+ "public-decorated-set",
158
+ "protected-decorated-set",
159
+ "private-decorated-set",
160
+ "public-instance-set",
161
+ "protected-instance-set",
162
+ "private-instance-set",
163
+ "#private-instance-set",
164
+ "public-abstract-set",
165
+ "protected-abstract-set",
166
+ "public-set",
167
+ "protected-set",
168
+ "private-set",
169
+ "#private-set",
170
+ "static-set",
171
+ "instance-set",
172
+ "abstract-set",
173
+ "decorated-set",
174
+ "set",
175
+ "public-static-method",
176
+ "protected-static-method",
177
+ "private-static-method",
178
+ "#private-static-method",
179
+ "public-decorated-method",
180
+ "protected-decorated-method",
181
+ "private-decorated-method",
182
+ "public-instance-method",
183
+ "protected-instance-method",
184
+ "private-instance-method",
185
+ "#private-instance-method",
186
+ "public-abstract-method",
187
+ "protected-abstract-method",
188
+ "public-method",
189
+ "protected-method",
190
+ "private-method",
191
+ "#private-method",
192
+ "static-method",
193
+ "instance-method",
194
+ "abstract-method",
195
+ "decorated-method",
196
+ "method",
197
+ ],
198
+ optionalityOrder: "required-first",
199
+ order: "as-written",
200
+ },
201
+ },
202
+ ],
203
+ "@typescript-eslint/method-signature-style": [
204
+ ERROR,
205
+ "property",
206
+ ],
207
+ "@typescript-eslint/naming-convention": OFF,
208
+ "@typescript-eslint/no-array-delete": ERROR,
209
+ "@typescript-eslint/no-base-to-string": [
210
+ ERROR,
211
+ {
212
+ ignoredTypeNames: [
213
+ "Error",
214
+ "RegExp",
215
+ "URL",
216
+ "URLSearchParams",
196
217
  ],
197
- optionalityOrder: "required-first",
198
- order: "as-written",
199
218
  },
200
- },
201
- ],
202
- "@typescript-eslint/method-signature-style": [
203
- ERROR,
204
- "property",
205
- ],
206
- "@typescript-eslint/naming-convention": OFF,
207
- "@typescript-eslint/no-array-delete": ERROR,
208
- "@typescript-eslint/no-base-to-string": [
209
- ERROR,
210
- {
211
- ignoredTypeNames: [
212
- "Error",
213
- "RegExp",
214
- "URL",
215
- "URLSearchParams",
216
- ],
217
- },
218
- ],
219
- "@typescript-eslint/no-confusing-non-null-assertion": ERROR,
220
- "@typescript-eslint/no-confusing-void-expression": [
221
- ERROR,
222
- {
223
- ignoreArrowShorthand: true,
224
- ignoreVoidOperator: true,
225
- },
226
- ],
227
- "@typescript-eslint/no-duplicate-enum-values": ERROR,
228
- "@typescript-eslint/no-duplicate-type-constituents": [
229
- ERROR,
230
- {
231
- ignoreIntersections: false,
232
- ignoreUnions: false,
233
- },
234
- ],
235
- "@typescript-eslint/no-dynamic-delete": ERROR,
236
- "@typescript-eslint/no-empty-interface": [
237
- ERROR,
238
- { allowSingleExtends: true },
239
- ],
240
- "@typescript-eslint/no-empty-object-type": [
241
- ERROR,
242
- {
243
- allowInterfaces: NEVER,
244
- allowObjectTypes: NEVER,
245
- },
246
- ],
247
- "@typescript-eslint/no-explicit-any": [
248
- ERROR,
249
- {
250
- fixToUnknown: true,
251
- ignoreRestArgs: false,
252
- },
253
- ],
254
- "@typescript-eslint/no-extra-non-null-assertion": ERROR,
255
- "@typescript-eslint/no-extraneous-class": [
256
- ERROR,
257
- {
258
- allowConstructorOnly: false,
259
- allowEmpty: true,
260
- allowStaticOnly: false,
261
- allowWithDecorator: false,
262
- },
263
- ],
264
- "@typescript-eslint/no-floating-promises": [
265
- ERROR,
266
- {
267
- ignoreVoid: true,
268
- ignoreIIFE: false,
269
- },
270
- ],
271
- "@typescript-eslint/no-for-in-array": ERROR,
272
- "@typescript-eslint/no-import-type-side-effects": ERROR,
273
- "@typescript-eslint/no-inferrable-types": [
274
- ERROR,
275
- {
276
- ignoreParameters: false,
277
- ignoreProperties: false,
278
- },
279
- ],
280
- "@typescript-eslint/no-invalid-void-type": [
281
- ERROR,
282
- {
283
- allowInGenericTypeArguments: true,
284
- allowAsThisParameter: false,
285
- },
286
- ],
287
- "@typescript-eslint/no-meaningless-void-operator": [
288
- ERROR,
289
- { checkNever: true },
290
- ],
291
- "@typescript-eslint/no-misused-new": ERROR,
292
- "@typescript-eslint/no-misused-promises": [
293
- ERROR,
294
- {
295
- checksConditionals: true,
296
- checksSpreads: true,
297
- checksVoidReturn: {
298
- arguments: true,
299
- attributes: true,
300
- properties: true,
301
- returns: true,
302
- variables: true,
219
+ ],
220
+ "@typescript-eslint/no-confusing-non-null-assertion": ERROR,
221
+ "@typescript-eslint/no-confusing-void-expression": [
222
+ ERROR,
223
+ {
224
+ ignoreArrowShorthand: true,
225
+ ignoreVoidOperator: true,
226
+ },
227
+ ],
228
+ "@typescript-eslint/no-duplicate-enum-values": ERROR,
229
+ "@typescript-eslint/no-duplicate-type-constituents": [
230
+ ERROR,
231
+ {
232
+ ignoreIntersections: false,
233
+ ignoreUnions: false,
234
+ },
235
+ ],
236
+ "@typescript-eslint/no-dynamic-delete": ERROR,
237
+ "@typescript-eslint/no-empty-interface": [
238
+ ERROR,
239
+ { allowSingleExtends: true },
240
+ ],
241
+ "@typescript-eslint/no-empty-object-type": [
242
+ ERROR,
243
+ {
244
+ allowInterfaces: NEVER,
245
+ allowObjectTypes: NEVER,
246
+ },
247
+ ],
248
+ "@typescript-eslint/no-explicit-any": [
249
+ ERROR,
250
+ {
251
+ fixToUnknown: true,
252
+ ignoreRestArgs: false,
253
+ },
254
+ ],
255
+ "@typescript-eslint/no-extra-non-null-assertion": ERROR,
256
+ "@typescript-eslint/no-extraneous-class": [
257
+ ERROR,
258
+ {
259
+ allowConstructorOnly: false,
260
+ allowEmpty: true,
261
+ allowStaticOnly: false,
262
+ allowWithDecorator: false,
263
+ },
264
+ ],
265
+ "@typescript-eslint/no-floating-promises": [
266
+ ERROR,
267
+ {
268
+ ignoreVoid: true,
269
+ ignoreIIFE: false,
270
+ },
271
+ ],
272
+ "@typescript-eslint/no-for-in-array": ERROR,
273
+ "@typescript-eslint/no-import-type-side-effects": ERROR,
274
+ "@typescript-eslint/no-inferrable-types": [
275
+ ERROR,
276
+ {
277
+ ignoreParameters: false,
278
+ ignoreProperties: false,
279
+ },
280
+ ],
281
+ "@typescript-eslint/no-invalid-void-type": [
282
+ ERROR,
283
+ {
284
+ allowInGenericTypeArguments: true,
285
+ allowAsThisParameter: false,
286
+ },
287
+ ],
288
+ "@typescript-eslint/no-meaningless-void-operator": [
289
+ ERROR,
290
+ { checkNever: true },
291
+ ],
292
+ "@typescript-eslint/no-misused-new": ERROR,
293
+ "@typescript-eslint/no-misused-promises": [
294
+ ERROR,
295
+ {
296
+ checksConditionals: true,
297
+ checksSpreads: true,
298
+ checksVoidReturn: {
299
+ arguments: true,
300
+ attributes: true,
301
+ properties: true,
302
+ returns: true,
303
+ variables: true,
304
+ },
305
+ },
306
+ ],
307
+ "@typescript-eslint/no-mixed-enums": ERROR,
308
+ "@typescript-eslint/no-namespace": OFF,
309
+ "@typescript-eslint/no-non-null-asserted-nullish-coalescing": ERROR,
310
+ "@typescript-eslint/no-non-null-asserted-optional-chain": ERROR,
311
+ "@typescript-eslint/no-non-null-assertion": ERROR,
312
+ "@typescript-eslint/no-redundant-type-constituents": ERROR,
313
+ "@typescript-eslint/no-require-imports": [
314
+ ERROR,
315
+ { allow: [] },
316
+ ],
317
+ "@typescript-eslint/no-this-alias": [
318
+ ERROR,
319
+ {
320
+ allowDestructuring: true,
321
+ allowedNames: [],
322
+ },
323
+ ],
324
+ "@typescript-eslint/no-unnecessary-boolean-literal-compare": [
325
+ ERROR,
326
+ {
327
+ allowComparingNullableBooleansToTrue: true,
328
+ allowComparingNullableBooleansToFalse: true,
329
+ },
330
+ ],
331
+ "@typescript-eslint/no-unnecessary-condition": [
332
+ ERROR,
333
+ {
334
+ allowConstantLoopConditions: false,
335
+ allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
336
+ },
337
+ ],
338
+ "@typescript-eslint/no-unnecessary-qualifier": ERROR,
339
+ "@typescript-eslint/no-unnecessary-template-expression": ERROR,
340
+ "@typescript-eslint/no-unnecessary-type-arguments": ERROR,
341
+ "@typescript-eslint/no-unnecessary-type-assertion": [
342
+ ERROR,
343
+ { typesToIgnore: [] },
344
+ ],
345
+ "@typescript-eslint/no-unnecessary-type-constraint": ERROR,
346
+ "@typescript-eslint/no-unsafe-argument": ERROR,
347
+ "@typescript-eslint/no-unsafe-assignment": ERROR,
348
+ "@typescript-eslint/no-unsafe-call": ERROR,
349
+ "@typescript-eslint/no-unsafe-declaration-merging": ERROR,
350
+ "@typescript-eslint/no-unsafe-enum-comparison": ERROR,
351
+ "@typescript-eslint/no-unsafe-member-access": ERROR,
352
+ "@typescript-eslint/no-unsafe-return": ERROR,
353
+ "@typescript-eslint/no-unsafe-unary-minus": ERROR,
354
+ "@typescript-eslint/no-useless-empty-export": ERROR,
355
+ "@typescript-eslint/no-var-requires": OFF,
356
+ "@typescript-eslint/non-nullable-type-assertion-style": OFF,
357
+ "@typescript-eslint/parameter-properties": [
358
+ ERROR,
359
+ { prefer: "parameter-property" },
360
+ ],
361
+ "@typescript-eslint/prefer-as-const": ERROR,
362
+ "@typescript-eslint/prefer-enum-initializers": ERROR,
363
+ "@typescript-eslint/prefer-find": ERROR,
364
+ "@typescript-eslint/prefer-for-of": ERROR,
365
+ "@typescript-eslint/prefer-function-type": ERROR,
366
+ "@typescript-eslint/prefer-includes": ERROR,
367
+ "@typescript-eslint/prefer-literal-enum-member": [
368
+ ERROR,
369
+ { allowBitwiseExpressions: false },
370
+ ],
371
+ "@typescript-eslint/prefer-namespace-keyword": ERROR,
372
+ "@typescript-eslint/prefer-nullish-coalescing": [
373
+ ERROR,
374
+ {
375
+ allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
376
+ ignoreConditionalTests: false,
377
+ ignoreTernaryTests: false,
378
+ ignoreMixedLogicalExpressions: false,
379
+ ignorePrimitives: {
380
+ bigint: false,
381
+ "boolean": false,
382
+ number: false,
383
+ string: false,
384
+ },
385
+ },
386
+ ],
387
+ "@typescript-eslint/prefer-optional-chain": [
388
+ ERROR,
389
+ {
390
+ allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing: false,
391
+ checkAny: true,
392
+ checkBigInt: true,
393
+ checkBoolean: true,
394
+ checkNumber: true,
395
+ checkString: true,
396
+ checkUnknown: true,
397
+ requireNullish: false,
398
+ },
399
+ ],
400
+ "@typescript-eslint/prefer-readonly": [
401
+ ERROR,
402
+ { onlyInlineLambdas: false },
403
+ ],
404
+ "@typescript-eslint/prefer-readonly-parameter-types": OFF,
405
+ "@typescript-eslint/prefer-reduce-type-parameter": ERROR,
406
+ "@typescript-eslint/prefer-regexp-exec": ERROR,
407
+ "@typescript-eslint/prefer-return-this-type": ERROR,
408
+ "@typescript-eslint/prefer-string-starts-ends-with": [
409
+ ERROR,
410
+ { allowSingleElementEquality: NEVER },
411
+ ],
412
+ "@typescript-eslint/prefer-ts-expect-error": ERROR,
413
+ "@typescript-eslint/promise-function-async": [
414
+ ERROR,
415
+ {
416
+ allowAny: false,
417
+ allowedPromiseNames: [],
418
+ checkArrowFunctions: true,
419
+ checkFunctionDeclarations: true,
420
+ checkFunctionExpressions: true,
421
+ checkMethodDeclarations: true,
422
+ },
423
+ ],
424
+ "@typescript-eslint/require-array-sort-compare": [
425
+ ERROR,
426
+ { ignoreStringArrays: true },
427
+ ],
428
+ "@typescript-eslint/restrict-plus-operands": [
429
+ ERROR,
430
+ {
431
+ allowAny: false,
432
+ allowBoolean: false,
433
+ allowNullish: false,
434
+ allowNumberAndString: false,
435
+ allowRegExp: false,
436
+ skipCompoundAssignments: false,
437
+ },
438
+ ],
439
+ "@typescript-eslint/restrict-template-expressions": [
440
+ ERROR,
441
+ {
442
+ allowAny: true,
443
+ allowArray: true,
444
+ allowBoolean: true,
445
+ allowNullish: false,
446
+ allowNumber: true,
447
+ allowNever: false,
448
+ allowRegExp: false,
449
+ },
450
+ ],
451
+ "@typescript-eslint/strict-boolean-expressions": [
452
+ ERROR,
453
+ {
454
+ allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
455
+ allowAny: false,
456
+ allowNumber: true,
457
+ allowString: false,
458
+ allowNullableBoolean: false,
459
+ allowNullableEnum: false,
460
+ allowNullableNumber: false,
461
+ allowNullableObject: false,
462
+ allowNullableString: false,
463
+ },
464
+ ],
465
+ "@typescript-eslint/switch-exhaustiveness-check": [
466
+ ERROR,
467
+ {
468
+ allowDefaultCaseForExhaustiveSwitch: false,
469
+ requireDefaultForNonUnion: true,
303
470
  },
304
- },
305
- ],
306
- "@typescript-eslint/no-mixed-enums": ERROR,
307
- "@typescript-eslint/no-namespace": OFF,
308
- "@typescript-eslint/no-non-null-asserted-nullish-coalescing": ERROR,
309
- "@typescript-eslint/no-non-null-asserted-optional-chain": ERROR,
310
- "@typescript-eslint/no-non-null-assertion": ERROR,
311
- "@typescript-eslint/no-redundant-type-constituents": ERROR,
312
- "@typescript-eslint/no-require-imports": [
313
- ERROR,
314
- { allow: [] },
315
- ],
316
- "@typescript-eslint/no-this-alias": [
317
- ERROR,
318
- {
319
- allowDestructuring: true,
320
- allowedNames: [],
321
- },
322
- ],
323
- "@typescript-eslint/no-unnecessary-boolean-literal-compare": [
324
- ERROR,
325
- {
326
- allowComparingNullableBooleansToTrue: true,
327
- allowComparingNullableBooleansToFalse: true,
328
- },
329
- ],
330
- "@typescript-eslint/no-unnecessary-condition": [
331
- ERROR,
332
- {
333
- allowConstantLoopConditions: false,
334
- allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
335
- },
336
- ],
337
- "@typescript-eslint/no-unnecessary-qualifier": ERROR,
338
- "@typescript-eslint/no-unnecessary-template-expression": ERROR,
339
- "@typescript-eslint/no-unnecessary-type-arguments": ERROR,
340
- "@typescript-eslint/no-unnecessary-type-assertion": [
341
- ERROR,
342
- { typesToIgnore: [] },
343
- ],
344
- "@typescript-eslint/no-unnecessary-type-constraint": ERROR,
345
- "@typescript-eslint/no-unsafe-argument": ERROR,
346
- "@typescript-eslint/no-unsafe-assignment": ERROR,
347
- "@typescript-eslint/no-unsafe-call": ERROR,
348
- "@typescript-eslint/no-unsafe-declaration-merging": ERROR,
349
- "@typescript-eslint/no-unsafe-enum-comparison": ERROR,
350
- "@typescript-eslint/no-unsafe-member-access": ERROR,
351
- "@typescript-eslint/no-unsafe-return": ERROR,
352
- "@typescript-eslint/no-unsafe-unary-minus": ERROR,
353
- "@typescript-eslint/no-useless-empty-export": ERROR,
354
- "@typescript-eslint/no-var-requires": OFF,
355
- "@typescript-eslint/non-nullable-type-assertion-style": OFF,
356
- "@typescript-eslint/parameter-properties": [
357
- ERROR,
358
- { prefer: "parameter-property" },
359
- ],
360
- "@typescript-eslint/prefer-as-const": ERROR,
361
- "@typescript-eslint/prefer-enum-initializers": ERROR,
362
- "@typescript-eslint/prefer-find": ERROR,
363
- "@typescript-eslint/prefer-for-of": ERROR,
364
- "@typescript-eslint/prefer-function-type": ERROR,
365
- "@typescript-eslint/prefer-includes": ERROR,
366
- "@typescript-eslint/prefer-literal-enum-member": [
367
- ERROR,
368
- { allowBitwiseExpressions: false },
369
- ],
370
- "@typescript-eslint/prefer-namespace-keyword": ERROR,
371
- "@typescript-eslint/prefer-nullish-coalescing": [
372
- ERROR,
373
- {
374
- allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
375
- ignoreConditionalTests: false,
376
- ignoreTernaryTests: false,
377
- ignoreMixedLogicalExpressions: false,
378
- ignorePrimitives: {
379
- bigint: false,
380
- "boolean": false,
381
- number: false,
382
- string: false,
471
+ ],
472
+ "@typescript-eslint/triple-slash-reference": [
473
+ ERROR,
474
+ {
475
+ lib: NEVER,
476
+ path: NEVER,
477
+ types: NEVER,
383
478
  },
384
- },
385
- ],
386
- "@typescript-eslint/prefer-optional-chain": [
387
- ERROR,
388
- {
389
- allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing: false,
390
- checkAny: true,
391
- checkBigInt: true,
392
- checkBoolean: true,
393
- checkNumber: true,
394
- checkString: true,
395
- checkUnknown: true,
396
- requireNullish: false,
397
- },
398
- ],
399
- "@typescript-eslint/prefer-readonly": [
400
- ERROR,
401
- { onlyInlineLambdas: false },
402
- ],
403
- "@typescript-eslint/prefer-readonly-parameter-types": OFF,
404
- "@typescript-eslint/prefer-reduce-type-parameter": ERROR,
405
- "@typescript-eslint/prefer-regexp-exec": ERROR,
406
- "@typescript-eslint/prefer-return-this-type": ERROR,
407
- "@typescript-eslint/prefer-string-starts-ends-with": [
408
- ERROR,
409
- { allowSingleElementEquality: NEVER },
410
- ],
411
- "@typescript-eslint/prefer-ts-expect-error": ERROR,
412
- "@typescript-eslint/promise-function-async": [
413
- ERROR,
414
- {
415
- allowAny: false,
416
- allowedPromiseNames: [],
417
- checkArrowFunctions: true,
418
- checkFunctionDeclarations: true,
419
- checkFunctionExpressions: true,
420
- checkMethodDeclarations: true,
421
- },
422
- ],
423
- "@typescript-eslint/require-array-sort-compare": [
424
- ERROR,
425
- { ignoreStringArrays: true },
426
- ],
427
- "@typescript-eslint/restrict-plus-operands": [
428
- ERROR,
429
- {
430
- allowAny: false,
431
- allowBoolean: false,
432
- allowNullish: false,
433
- allowNumberAndString: false,
434
- allowRegExp: false,
435
- skipCompoundAssignments: false,
436
- },
437
- ],
438
- "@typescript-eslint/restrict-template-expressions": [
439
- ERROR,
440
- {
441
- allowAny: true,
442
- allowArray: true,
443
- allowBoolean: true,
444
- allowNullish: false,
445
- allowNumber: true,
446
- allowNever: false,
447
- allowRegExp: false,
448
- },
449
- ],
450
- "@typescript-eslint/strict-boolean-expressions": [
451
- ERROR,
452
- {
453
- allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
454
- allowAny: false,
455
- allowNumber: true,
456
- allowString: false,
457
- allowNullableBoolean: false,
458
- allowNullableEnum: false,
459
- allowNullableNumber: false,
460
- allowNullableObject: false,
461
- allowNullableString: false,
462
- },
463
- ],
464
- "@typescript-eslint/switch-exhaustiveness-check": [
465
- ERROR,
466
- {
467
- allowDefaultCaseForExhaustiveSwitch: false,
468
- requireDefaultForNonUnion: true,
469
- },
470
- ],
471
- "@typescript-eslint/triple-slash-reference": [
472
- ERROR,
473
- {
474
- lib: NEVER,
475
- path: NEVER,
476
- types: NEVER,
477
- },
478
- ],
479
- "@typescript-eslint/typedef": OFF,
480
- "@typescript-eslint/unbound-method": [
481
- ERROR,
482
- { ignoreStatic: false },
483
- ],
484
- "@typescript-eslint/unified-signatures": [
485
- ERROR,
486
- { ignoreDifferentlyNamedParameters: false },
487
- ],
488
- "@typescript-eslint/use-unknown-in-catch-callback-variable": ERROR,
489
- });
490
- export default TsEnable;
479
+ ],
480
+ "@typescript-eslint/typedef": OFF,
481
+ "@typescript-eslint/unbound-method": [
482
+ ERROR,
483
+ { ignoreStatic: false },
484
+ ],
485
+ "@typescript-eslint/unified-signatures": [
486
+ ERROR,
487
+ { ignoreDifferentlyNamedParameters: false },
488
+ ],
489
+ "@typescript-eslint/use-unknown-in-catch-callback-variable": ERROR,
490
+ },
491
+ ];
491
492
  //# sourceMappingURL=TsEnable.js.map