@effect/tsgo 0.62.0 → 0.64.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.
- package/README.md +31 -10
- package/dist/effect-tsgo.cjs +8836 -3428
- package/oxlint-presets/antipattern.json +1 -0
- package/oxlint-presets/effect-native.json +2 -1
- package/oxlint-presets/index.js +29 -2
- package/oxlint-presets/recommended.json +7 -0
- package/oxlint-presets/strict.json +7 -0
- package/oxlint-presets/style.json +12 -1
- package/oxlint-schema.json +42 -0
- package/package.json +11 -11
- package/schema.json +132 -3
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"effecttsgo/effect-gen-uses-adapter": "warn",
|
|
12
12
|
"effecttsgo/effect-in-failure": "warn",
|
|
13
13
|
"effecttsgo/effect-in-void-success": "warn",
|
|
14
|
+
"effecttsgo/effect-try-without-catch": "warn",
|
|
14
15
|
"effecttsgo/global-error-in-effect-catch": "warn",
|
|
15
16
|
"effecttsgo/global-error-in-effect-failure": "warn",
|
|
16
17
|
"effecttsgo/layer-merge-all-with-dependencies": "warn",
|
|
@@ -17,6 +17,8 @@
|
|
|
17
17
|
"effecttsgo/global-date-in-effect": "warn",
|
|
18
18
|
"effecttsgo/global-fetch": "warn",
|
|
19
19
|
"effecttsgo/global-fetch-in-effect": "warn",
|
|
20
|
+
"effecttsgo/global-json": "warn",
|
|
21
|
+
"effecttsgo/global-json-in-effect": "warn",
|
|
20
22
|
"effecttsgo/global-random": "warn",
|
|
21
23
|
"effecttsgo/global-random-in-effect": "warn",
|
|
22
24
|
"effecttsgo/global-timers": "warn",
|
|
@@ -27,7 +29,6 @@
|
|
|
27
29
|
"effecttsgo/prefer-effect-array": "warn",
|
|
28
30
|
"effecttsgo/prefer-effect-record": "warn",
|
|
29
31
|
"effecttsgo/prefer-effect-string": "warn",
|
|
30
|
-
"effecttsgo/prefer-schema-over-json": "warn",
|
|
31
32
|
"effecttsgo/process-env": "warn",
|
|
32
33
|
"effecttsgo/process-env-in-effect": "warn",
|
|
33
34
|
"effecttsgo/schema-sync": "warn"
|
package/oxlint-presets/index.js
CHANGED
|
@@ -13,6 +13,7 @@ export const antipattern = {
|
|
|
13
13
|
"effecttsgo/effect-gen-uses-adapter": "warn",
|
|
14
14
|
"effecttsgo/effect-in-failure": "warn",
|
|
15
15
|
"effecttsgo/effect-in-void-success": "warn",
|
|
16
|
+
"effecttsgo/effect-try-without-catch": "warn",
|
|
16
17
|
"effecttsgo/global-error-in-effect-catch": "warn",
|
|
17
18
|
"effecttsgo/global-error-in-effect-failure": "warn",
|
|
18
19
|
"effecttsgo/layer-merge-all-with-dependencies": "warn",
|
|
@@ -87,6 +88,8 @@ export const effectNative = {
|
|
|
87
88
|
"effecttsgo/global-date-in-effect": "warn",
|
|
88
89
|
"effecttsgo/global-fetch": "warn",
|
|
89
90
|
"effecttsgo/global-fetch-in-effect": "warn",
|
|
91
|
+
"effecttsgo/global-json": "warn",
|
|
92
|
+
"effecttsgo/global-json-in-effect": "warn",
|
|
90
93
|
"effecttsgo/global-random": "warn",
|
|
91
94
|
"effecttsgo/global-random-in-effect": "warn",
|
|
92
95
|
"effecttsgo/global-timers": "warn",
|
|
@@ -97,7 +100,6 @@ export const effectNative = {
|
|
|
97
100
|
"effecttsgo/prefer-effect-array": "warn",
|
|
98
101
|
"effecttsgo/prefer-effect-record": "warn",
|
|
99
102
|
"effecttsgo/prefer-effect-string": "warn",
|
|
100
|
-
"effecttsgo/prefer-schema-over-json": "warn",
|
|
101
103
|
"effecttsgo/process-env": "warn",
|
|
102
104
|
"effecttsgo/process-env-in-effect": "warn",
|
|
103
105
|
"effecttsgo/schema-sync": "warn"
|
|
@@ -149,9 +151,11 @@ export const recommended = {
|
|
|
149
151
|
"effecttsgo/effect-map-flatten": "warn",
|
|
150
152
|
"effecttsgo/effect-map-void": "warn",
|
|
151
153
|
"effecttsgo/effect-sleep-zero-to-yield-now": "warn",
|
|
154
|
+
"effecttsgo/effect-succeed-with-undefined": "warn",
|
|
152
155
|
"effecttsgo/effect-succeed-with-void": "warn",
|
|
153
156
|
"effecttsgo/error-payload-shadows-name": "warn",
|
|
154
157
|
"effecttsgo/experimental-api-usage": "warn",
|
|
158
|
+
"effecttsgo/fail-cause-to-constructor": "warn",
|
|
155
159
|
"effecttsgo/flat-map-conditional-to-filter-or-fail": "warn",
|
|
156
160
|
"effecttsgo/flat-map-identity-to-flatten": "warn",
|
|
157
161
|
"effecttsgo/flat-map-ignored-param-to-and-then": "warn",
|
|
@@ -166,8 +170,11 @@ export const recommended = {
|
|
|
166
170
|
"effecttsgo/lazy-effect": "warn",
|
|
167
171
|
"effecttsgo/lazy-promise-in-effect-sync": "warn",
|
|
168
172
|
"effecttsgo/leaking-requirements": "warn",
|
|
173
|
+
"effecttsgo/manual-metric-tap-to-track": "warn",
|
|
169
174
|
"effecttsgo/map-const-to-as": "warn",
|
|
175
|
+
"effecttsgo/map-some-catch-no-such-element": "warn",
|
|
170
176
|
"effecttsgo/map-some-to-as-some": "warn",
|
|
177
|
+
"effecttsgo/match-boolean-to-is-success": "warn",
|
|
171
178
|
"effecttsgo/match-effect-to-map-both": "warn",
|
|
172
179
|
"effecttsgo/match-effect-to-match": "warn",
|
|
173
180
|
"effecttsgo/missing-effect-context": "error",
|
|
@@ -192,6 +199,7 @@ export const recommended = {
|
|
|
192
199
|
"effecttsgo/redundant-map-error": "warn",
|
|
193
200
|
"effecttsgo/redundant-or-die": "warn",
|
|
194
201
|
"effecttsgo/redundant-schema-tag-identifier": "warn",
|
|
202
|
+
"effecttsgo/result-match-to-from-result": "warn",
|
|
195
203
|
"effecttsgo/return-effect-in-gen": "warn",
|
|
196
204
|
"effecttsgo/run-effect-inside-effect": "warn",
|
|
197
205
|
"effecttsgo/run-of-exit-to-run-exit": "warn",
|
|
@@ -203,6 +211,7 @@ export const recommended = {
|
|
|
203
211
|
"effecttsgo/schema-struct-with-tag": "warn",
|
|
204
212
|
"effecttsgo/schema-sync-in-effect": "warn",
|
|
205
213
|
"effecttsgo/scope-in-layer-effect": "warn",
|
|
214
|
+
"effecttsgo/suspend-fail-to-fail-sync": "warn",
|
|
206
215
|
"effecttsgo/sync-to-succeed": "warn",
|
|
207
216
|
"effecttsgo/timeout-catch-tag-to-timeout-or-else": "warn",
|
|
208
217
|
"effecttsgo/try-catch-in-effect-gen": "warn",
|
|
@@ -249,9 +258,11 @@ export const strict = {
|
|
|
249
258
|
"effecttsgo/effect-map-flatten": "error",
|
|
250
259
|
"effecttsgo/effect-map-void": "error",
|
|
251
260
|
"effecttsgo/effect-sleep-zero-to-yield-now": "error",
|
|
261
|
+
"effecttsgo/effect-succeed-with-undefined": "error",
|
|
252
262
|
"effecttsgo/effect-succeed-with-void": "error",
|
|
253
263
|
"effecttsgo/error-payload-shadows-name": "error",
|
|
254
264
|
"effecttsgo/experimental-api-usage": "error",
|
|
265
|
+
"effecttsgo/fail-cause-to-constructor": "error",
|
|
255
266
|
"effecttsgo/flat-map-conditional-to-filter-or-fail": "error",
|
|
256
267
|
"effecttsgo/flat-map-identity-to-flatten": "error",
|
|
257
268
|
"effecttsgo/flat-map-ignored-param-to-and-then": "error",
|
|
@@ -266,8 +277,11 @@ export const strict = {
|
|
|
266
277
|
"effecttsgo/lazy-effect": "error",
|
|
267
278
|
"effecttsgo/lazy-promise-in-effect-sync": "error",
|
|
268
279
|
"effecttsgo/leaking-requirements": "error",
|
|
280
|
+
"effecttsgo/manual-metric-tap-to-track": "error",
|
|
269
281
|
"effecttsgo/map-const-to-as": "error",
|
|
282
|
+
"effecttsgo/map-some-catch-no-such-element": "error",
|
|
270
283
|
"effecttsgo/map-some-to-as-some": "error",
|
|
284
|
+
"effecttsgo/match-boolean-to-is-success": "error",
|
|
271
285
|
"effecttsgo/match-effect-to-map-both": "error",
|
|
272
286
|
"effecttsgo/match-effect-to-match": "error",
|
|
273
287
|
"effecttsgo/missing-effect-context": "error",
|
|
@@ -292,6 +306,7 @@ export const strict = {
|
|
|
292
306
|
"effecttsgo/redundant-map-error": "error",
|
|
293
307
|
"effecttsgo/redundant-or-die": "error",
|
|
294
308
|
"effecttsgo/redundant-schema-tag-identifier": "error",
|
|
309
|
+
"effecttsgo/result-match-to-from-result": "error",
|
|
295
310
|
"effecttsgo/return-effect-in-gen": "error",
|
|
296
311
|
"effecttsgo/run-effect-inside-effect": "error",
|
|
297
312
|
"effecttsgo/run-of-exit-to-run-exit": "error",
|
|
@@ -303,6 +318,7 @@ export const strict = {
|
|
|
303
318
|
"effecttsgo/schema-struct-with-tag": "error",
|
|
304
319
|
"effecttsgo/schema-sync-in-effect": "error",
|
|
305
320
|
"effecttsgo/scope-in-layer-effect": "error",
|
|
321
|
+
"effecttsgo/suspend-fail-to-fail-sync": "error",
|
|
306
322
|
"effecttsgo/sync-to-succeed": "error",
|
|
307
323
|
"effecttsgo/timeout-catch-tag-to-timeout-or-else": "error",
|
|
308
324
|
"effecttsgo/try-catch-in-effect-gen": "error",
|
|
@@ -342,14 +358,20 @@ export const style = {
|
|
|
342
358
|
"effecttsgo/effect-map-flatten": "warn",
|
|
343
359
|
"effecttsgo/effect-map-void": "warn",
|
|
344
360
|
"effecttsgo/effect-sleep-zero-to-yield-now": "warn",
|
|
361
|
+
"effecttsgo/effect-succeed-with-undefined": "warn",
|
|
345
362
|
"effecttsgo/effect-succeed-with-void": "warn",
|
|
363
|
+
"effecttsgo/fail-cause-to-constructor": "warn",
|
|
346
364
|
"effecttsgo/flat-map-conditional-to-filter-or-fail": "warn",
|
|
347
365
|
"effecttsgo/flat-map-identity-to-flatten": "warn",
|
|
348
366
|
"effecttsgo/flat-map-ignored-param-to-and-then": "warn",
|
|
349
367
|
"effecttsgo/flat-map-to-map": "warn",
|
|
350
368
|
"effecttsgo/flat-map-to-tap": "warn",
|
|
369
|
+
"effecttsgo/manual-metric-tap-to-track": "warn",
|
|
351
370
|
"effecttsgo/map-const-to-as": "warn",
|
|
371
|
+
"effecttsgo/map-map-error-to-map-both": "warn",
|
|
372
|
+
"effecttsgo/map-some-catch-no-such-element": "warn",
|
|
352
373
|
"effecttsgo/map-some-to-as-some": "warn",
|
|
374
|
+
"effecttsgo/match-boolean-to-is-success": "warn",
|
|
353
375
|
"effecttsgo/match-effect-to-map-both": "warn",
|
|
354
376
|
"effecttsgo/match-effect-to-match": "warn",
|
|
355
377
|
"effecttsgo/missed-pipeable-opportunity": "warn",
|
|
@@ -366,24 +388,29 @@ export const style = {
|
|
|
366
388
|
"effecttsgo/prefer-succeed-some-or-none": "warn",
|
|
367
389
|
"effecttsgo/prefer-typed-schema-decoder": "warn",
|
|
368
390
|
"effecttsgo/provide-layer-succeed-to-provide-service": "warn",
|
|
391
|
+
"effecttsgo/provide-merge-all-to-array": "warn",
|
|
369
392
|
"effecttsgo/race-first-with-sleep-to-timeout": "warn",
|
|
370
393
|
"effecttsgo/redundant-map-error": "warn",
|
|
371
394
|
"effecttsgo/redundant-or-die": "warn",
|
|
372
395
|
"effecttsgo/redundant-schema-tag-identifier": "warn",
|
|
396
|
+
"effecttsgo/result-match-to-from-result": "warn",
|
|
373
397
|
"effecttsgo/run-of-exit-to-run-exit": "warn",
|
|
374
398
|
"effecttsgo/schema-number": "warn",
|
|
375
399
|
"effecttsgo/schema-struct-with-tag": "warn",
|
|
376
400
|
"effecttsgo/schema-union-of-literals": "warn",
|
|
377
401
|
"effecttsgo/service-not-as-class": "warn",
|
|
378
402
|
"effecttsgo/strict-boolean-expressions": "warn",
|
|
403
|
+
"effecttsgo/suspend-fail-to-fail-sync": "warn",
|
|
379
404
|
"effecttsgo/sync-to-succeed": "warn",
|
|
380
405
|
"effecttsgo/timeout-catch-tag-to-timeout-or-else": "warn",
|
|
406
|
+
"effecttsgo/type-union-to-schema-union": "warn",
|
|
381
407
|
"effecttsgo/unnecessary-arrow-block": "warn",
|
|
382
408
|
"effecttsgo/unnecessary-effect-gen": "warn",
|
|
383
409
|
"effecttsgo/unnecessary-fail-yieldable-error": "warn",
|
|
384
410
|
"effecttsgo/unnecessary-pipe": "warn",
|
|
385
411
|
"effecttsgo/unnecessary-pipe-chain": "warn",
|
|
386
|
-
"effecttsgo/unnecessary-typeof-type": "warn"
|
|
412
|
+
"effecttsgo/unnecessary-typeof-type": "warn",
|
|
413
|
+
"effecttsgo/yield-in-call-argument": "warn"
|
|
387
414
|
}
|
|
388
415
|
}
|
|
389
416
|
|
|
@@ -31,9 +31,11 @@
|
|
|
31
31
|
"effecttsgo/effect-map-flatten": "warn",
|
|
32
32
|
"effecttsgo/effect-map-void": "warn",
|
|
33
33
|
"effecttsgo/effect-sleep-zero-to-yield-now": "warn",
|
|
34
|
+
"effecttsgo/effect-succeed-with-undefined": "warn",
|
|
34
35
|
"effecttsgo/effect-succeed-with-void": "warn",
|
|
35
36
|
"effecttsgo/error-payload-shadows-name": "warn",
|
|
36
37
|
"effecttsgo/experimental-api-usage": "warn",
|
|
38
|
+
"effecttsgo/fail-cause-to-constructor": "warn",
|
|
37
39
|
"effecttsgo/flat-map-conditional-to-filter-or-fail": "warn",
|
|
38
40
|
"effecttsgo/flat-map-identity-to-flatten": "warn",
|
|
39
41
|
"effecttsgo/flat-map-ignored-param-to-and-then": "warn",
|
|
@@ -48,8 +50,11 @@
|
|
|
48
50
|
"effecttsgo/lazy-effect": "warn",
|
|
49
51
|
"effecttsgo/lazy-promise-in-effect-sync": "warn",
|
|
50
52
|
"effecttsgo/leaking-requirements": "warn",
|
|
53
|
+
"effecttsgo/manual-metric-tap-to-track": "warn",
|
|
51
54
|
"effecttsgo/map-const-to-as": "warn",
|
|
55
|
+
"effecttsgo/map-some-catch-no-such-element": "warn",
|
|
52
56
|
"effecttsgo/map-some-to-as-some": "warn",
|
|
57
|
+
"effecttsgo/match-boolean-to-is-success": "warn",
|
|
53
58
|
"effecttsgo/match-effect-to-map-both": "warn",
|
|
54
59
|
"effecttsgo/match-effect-to-match": "warn",
|
|
55
60
|
"effecttsgo/missing-effect-context": "error",
|
|
@@ -74,6 +79,7 @@
|
|
|
74
79
|
"effecttsgo/redundant-map-error": "warn",
|
|
75
80
|
"effecttsgo/redundant-or-die": "warn",
|
|
76
81
|
"effecttsgo/redundant-schema-tag-identifier": "warn",
|
|
82
|
+
"effecttsgo/result-match-to-from-result": "warn",
|
|
77
83
|
"effecttsgo/return-effect-in-gen": "warn",
|
|
78
84
|
"effecttsgo/run-effect-inside-effect": "warn",
|
|
79
85
|
"effecttsgo/run-of-exit-to-run-exit": "warn",
|
|
@@ -85,6 +91,7 @@
|
|
|
85
91
|
"effecttsgo/schema-struct-with-tag": "warn",
|
|
86
92
|
"effecttsgo/schema-sync-in-effect": "warn",
|
|
87
93
|
"effecttsgo/scope-in-layer-effect": "warn",
|
|
94
|
+
"effecttsgo/suspend-fail-to-fail-sync": "warn",
|
|
88
95
|
"effecttsgo/sync-to-succeed": "warn",
|
|
89
96
|
"effecttsgo/timeout-catch-tag-to-timeout-or-else": "warn",
|
|
90
97
|
"effecttsgo/try-catch-in-effect-gen": "warn",
|
|
@@ -31,9 +31,11 @@
|
|
|
31
31
|
"effecttsgo/effect-map-flatten": "error",
|
|
32
32
|
"effecttsgo/effect-map-void": "error",
|
|
33
33
|
"effecttsgo/effect-sleep-zero-to-yield-now": "error",
|
|
34
|
+
"effecttsgo/effect-succeed-with-undefined": "error",
|
|
34
35
|
"effecttsgo/effect-succeed-with-void": "error",
|
|
35
36
|
"effecttsgo/error-payload-shadows-name": "error",
|
|
36
37
|
"effecttsgo/experimental-api-usage": "error",
|
|
38
|
+
"effecttsgo/fail-cause-to-constructor": "error",
|
|
37
39
|
"effecttsgo/flat-map-conditional-to-filter-or-fail": "error",
|
|
38
40
|
"effecttsgo/flat-map-identity-to-flatten": "error",
|
|
39
41
|
"effecttsgo/flat-map-ignored-param-to-and-then": "error",
|
|
@@ -48,8 +50,11 @@
|
|
|
48
50
|
"effecttsgo/lazy-effect": "error",
|
|
49
51
|
"effecttsgo/lazy-promise-in-effect-sync": "error",
|
|
50
52
|
"effecttsgo/leaking-requirements": "error",
|
|
53
|
+
"effecttsgo/manual-metric-tap-to-track": "error",
|
|
51
54
|
"effecttsgo/map-const-to-as": "error",
|
|
55
|
+
"effecttsgo/map-some-catch-no-such-element": "error",
|
|
52
56
|
"effecttsgo/map-some-to-as-some": "error",
|
|
57
|
+
"effecttsgo/match-boolean-to-is-success": "error",
|
|
53
58
|
"effecttsgo/match-effect-to-map-both": "error",
|
|
54
59
|
"effecttsgo/match-effect-to-match": "error",
|
|
55
60
|
"effecttsgo/missing-effect-context": "error",
|
|
@@ -74,6 +79,7 @@
|
|
|
74
79
|
"effecttsgo/redundant-map-error": "error",
|
|
75
80
|
"effecttsgo/redundant-or-die": "error",
|
|
76
81
|
"effecttsgo/redundant-schema-tag-identifier": "error",
|
|
82
|
+
"effecttsgo/result-match-to-from-result": "error",
|
|
77
83
|
"effecttsgo/return-effect-in-gen": "error",
|
|
78
84
|
"effecttsgo/run-effect-inside-effect": "error",
|
|
79
85
|
"effecttsgo/run-of-exit-to-run-exit": "error",
|
|
@@ -85,6 +91,7 @@
|
|
|
85
91
|
"effecttsgo/schema-struct-with-tag": "error",
|
|
86
92
|
"effecttsgo/schema-sync-in-effect": "error",
|
|
87
93
|
"effecttsgo/scope-in-layer-effect": "error",
|
|
94
|
+
"effecttsgo/suspend-fail-to-fail-sync": "error",
|
|
88
95
|
"effecttsgo/sync-to-succeed": "error",
|
|
89
96
|
"effecttsgo/timeout-catch-tag-to-timeout-or-else": "error",
|
|
90
97
|
"effecttsgo/try-catch-in-effect-gen": "error",
|
|
@@ -24,14 +24,20 @@
|
|
|
24
24
|
"effecttsgo/effect-map-flatten": "warn",
|
|
25
25
|
"effecttsgo/effect-map-void": "warn",
|
|
26
26
|
"effecttsgo/effect-sleep-zero-to-yield-now": "warn",
|
|
27
|
+
"effecttsgo/effect-succeed-with-undefined": "warn",
|
|
27
28
|
"effecttsgo/effect-succeed-with-void": "warn",
|
|
29
|
+
"effecttsgo/fail-cause-to-constructor": "warn",
|
|
28
30
|
"effecttsgo/flat-map-conditional-to-filter-or-fail": "warn",
|
|
29
31
|
"effecttsgo/flat-map-identity-to-flatten": "warn",
|
|
30
32
|
"effecttsgo/flat-map-ignored-param-to-and-then": "warn",
|
|
31
33
|
"effecttsgo/flat-map-to-map": "warn",
|
|
32
34
|
"effecttsgo/flat-map-to-tap": "warn",
|
|
35
|
+
"effecttsgo/manual-metric-tap-to-track": "warn",
|
|
33
36
|
"effecttsgo/map-const-to-as": "warn",
|
|
37
|
+
"effecttsgo/map-map-error-to-map-both": "warn",
|
|
38
|
+
"effecttsgo/map-some-catch-no-such-element": "warn",
|
|
34
39
|
"effecttsgo/map-some-to-as-some": "warn",
|
|
40
|
+
"effecttsgo/match-boolean-to-is-success": "warn",
|
|
35
41
|
"effecttsgo/match-effect-to-map-both": "warn",
|
|
36
42
|
"effecttsgo/match-effect-to-match": "warn",
|
|
37
43
|
"effecttsgo/missed-pipeable-opportunity": "warn",
|
|
@@ -48,23 +54,28 @@
|
|
|
48
54
|
"effecttsgo/prefer-succeed-some-or-none": "warn",
|
|
49
55
|
"effecttsgo/prefer-typed-schema-decoder": "warn",
|
|
50
56
|
"effecttsgo/provide-layer-succeed-to-provide-service": "warn",
|
|
57
|
+
"effecttsgo/provide-merge-all-to-array": "warn",
|
|
51
58
|
"effecttsgo/race-first-with-sleep-to-timeout": "warn",
|
|
52
59
|
"effecttsgo/redundant-map-error": "warn",
|
|
53
60
|
"effecttsgo/redundant-or-die": "warn",
|
|
54
61
|
"effecttsgo/redundant-schema-tag-identifier": "warn",
|
|
62
|
+
"effecttsgo/result-match-to-from-result": "warn",
|
|
55
63
|
"effecttsgo/run-of-exit-to-run-exit": "warn",
|
|
56
64
|
"effecttsgo/schema-number": "warn",
|
|
57
65
|
"effecttsgo/schema-struct-with-tag": "warn",
|
|
58
66
|
"effecttsgo/schema-union-of-literals": "warn",
|
|
59
67
|
"effecttsgo/service-not-as-class": "warn",
|
|
60
68
|
"effecttsgo/strict-boolean-expressions": "warn",
|
|
69
|
+
"effecttsgo/suspend-fail-to-fail-sync": "warn",
|
|
61
70
|
"effecttsgo/sync-to-succeed": "warn",
|
|
62
71
|
"effecttsgo/timeout-catch-tag-to-timeout-or-else": "warn",
|
|
72
|
+
"effecttsgo/type-union-to-schema-union": "warn",
|
|
63
73
|
"effecttsgo/unnecessary-arrow-block": "warn",
|
|
64
74
|
"effecttsgo/unnecessary-effect-gen": "warn",
|
|
65
75
|
"effecttsgo/unnecessary-fail-yieldable-error": "warn",
|
|
66
76
|
"effecttsgo/unnecessary-pipe": "warn",
|
|
67
77
|
"effecttsgo/unnecessary-pipe-chain": "warn",
|
|
68
|
-
"effecttsgo/unnecessary-typeof-type": "warn"
|
|
78
|
+
"effecttsgo/unnecessary-typeof-type": "warn",
|
|
79
|
+
"effecttsgo/yield-in-call-argument": "warn"
|
|
69
80
|
}
|
|
70
81
|
}
|
package/oxlint-schema.json
CHANGED
|
@@ -2341,9 +2341,15 @@
|
|
|
2341
2341
|
"effecttsgo/effect-sleep-zero-to-yield-now": {
|
|
2342
2342
|
"$ref": "#/definitions/RuleNoConfig"
|
|
2343
2343
|
},
|
|
2344
|
+
"effecttsgo/effect-succeed-with-undefined": {
|
|
2345
|
+
"$ref": "#/definitions/RuleNoConfig"
|
|
2346
|
+
},
|
|
2344
2347
|
"effecttsgo/effect-succeed-with-void": {
|
|
2345
2348
|
"$ref": "#/definitions/RuleNoConfig"
|
|
2346
2349
|
},
|
|
2350
|
+
"effecttsgo/effect-try-without-catch": {
|
|
2351
|
+
"$ref": "#/definitions/RuleNoConfig"
|
|
2352
|
+
},
|
|
2347
2353
|
"effecttsgo/error-payload-shadows-name": {
|
|
2348
2354
|
"$ref": "#/definitions/RuleNoConfig"
|
|
2349
2355
|
},
|
|
@@ -2353,6 +2359,9 @@
|
|
|
2353
2359
|
"effecttsgo/extends-native-error": {
|
|
2354
2360
|
"$ref": "#/definitions/RuleNoConfig"
|
|
2355
2361
|
},
|
|
2362
|
+
"effecttsgo/fail-cause-to-constructor": {
|
|
2363
|
+
"$ref": "#/definitions/RuleNoConfig"
|
|
2364
|
+
},
|
|
2356
2365
|
"effecttsgo/flat-map-conditional-to-filter-or-fail": {
|
|
2357
2366
|
"$ref": "#/definitions/RuleNoConfig"
|
|
2358
2367
|
},
|
|
@@ -2401,6 +2410,12 @@
|
|
|
2401
2410
|
"effecttsgo/global-fetch-in-effect": {
|
|
2402
2411
|
"$ref": "#/definitions/RuleNoConfig"
|
|
2403
2412
|
},
|
|
2413
|
+
"effecttsgo/global-json": {
|
|
2414
|
+
"$ref": "#/definitions/RuleNoConfig"
|
|
2415
|
+
},
|
|
2416
|
+
"effecttsgo/global-json-in-effect": {
|
|
2417
|
+
"$ref": "#/definitions/RuleNoConfig"
|
|
2418
|
+
},
|
|
2404
2419
|
"effecttsgo/global-random": {
|
|
2405
2420
|
"$ref": "#/definitions/RuleNoConfig"
|
|
2406
2421
|
},
|
|
@@ -2428,12 +2443,24 @@
|
|
|
2428
2443
|
"effecttsgo/leaking-requirements": {
|
|
2429
2444
|
"$ref": "#/definitions/RuleNoConfig"
|
|
2430
2445
|
},
|
|
2446
|
+
"effecttsgo/manual-metric-tap-to-track": {
|
|
2447
|
+
"$ref": "#/definitions/RuleNoConfig"
|
|
2448
|
+
},
|
|
2431
2449
|
"effecttsgo/map-const-to-as": {
|
|
2432
2450
|
"$ref": "#/definitions/RuleNoConfig"
|
|
2433
2451
|
},
|
|
2452
|
+
"effecttsgo/map-map-error-to-map-both": {
|
|
2453
|
+
"$ref": "#/definitions/RuleNoConfig"
|
|
2454
|
+
},
|
|
2455
|
+
"effecttsgo/map-some-catch-no-such-element": {
|
|
2456
|
+
"$ref": "#/definitions/RuleNoConfig"
|
|
2457
|
+
},
|
|
2434
2458
|
"effecttsgo/map-some-to-as-some": {
|
|
2435
2459
|
"$ref": "#/definitions/RuleNoConfig"
|
|
2436
2460
|
},
|
|
2461
|
+
"effecttsgo/match-boolean-to-is-success": {
|
|
2462
|
+
"$ref": "#/definitions/RuleNoConfig"
|
|
2463
|
+
},
|
|
2437
2464
|
"effecttsgo/match-effect-to-map-both": {
|
|
2438
2465
|
"$ref": "#/definitions/RuleNoConfig"
|
|
2439
2466
|
},
|
|
@@ -2545,6 +2572,9 @@
|
|
|
2545
2572
|
"effecttsgo/provide-layer-succeed-to-provide-service": {
|
|
2546
2573
|
"$ref": "#/definitions/RuleNoConfig"
|
|
2547
2574
|
},
|
|
2575
|
+
"effecttsgo/provide-merge-all-to-array": {
|
|
2576
|
+
"$ref": "#/definitions/RuleNoConfig"
|
|
2577
|
+
},
|
|
2548
2578
|
"effecttsgo/race-first-with-sleep-to-timeout": {
|
|
2549
2579
|
"$ref": "#/definitions/RuleNoConfig"
|
|
2550
2580
|
},
|
|
@@ -2557,6 +2587,9 @@
|
|
|
2557
2587
|
"effecttsgo/redundant-schema-tag-identifier": {
|
|
2558
2588
|
"$ref": "#/definitions/RuleNoConfig"
|
|
2559
2589
|
},
|
|
2590
|
+
"effecttsgo/result-match-to-from-result": {
|
|
2591
|
+
"$ref": "#/definitions/RuleNoConfig"
|
|
2592
|
+
},
|
|
2560
2593
|
"effecttsgo/return-effect-in-gen": {
|
|
2561
2594
|
"$ref": "#/definitions/RuleNoConfig"
|
|
2562
2595
|
},
|
|
@@ -2605,6 +2638,9 @@
|
|
|
2605
2638
|
"effecttsgo/strict-effect-provide": {
|
|
2606
2639
|
"$ref": "#/definitions/RuleNoConfig"
|
|
2607
2640
|
},
|
|
2641
|
+
"effecttsgo/suspend-fail-to-fail-sync": {
|
|
2642
|
+
"$ref": "#/definitions/RuleNoConfig"
|
|
2643
|
+
},
|
|
2608
2644
|
"effecttsgo/sync-to-succeed": {
|
|
2609
2645
|
"$ref": "#/definitions/RuleNoConfig"
|
|
2610
2646
|
},
|
|
@@ -2614,6 +2650,9 @@
|
|
|
2614
2650
|
"effecttsgo/try-catch-in-effect-gen": {
|
|
2615
2651
|
"$ref": "#/definitions/RuleNoConfig"
|
|
2616
2652
|
},
|
|
2653
|
+
"effecttsgo/type-union-to-schema-union": {
|
|
2654
|
+
"$ref": "#/definitions/RuleNoConfig"
|
|
2655
|
+
},
|
|
2617
2656
|
"effecttsgo/unknown-in-effect-catch": {
|
|
2618
2657
|
"$ref": "#/definitions/RuleNoConfig"
|
|
2619
2658
|
},
|
|
@@ -2641,6 +2680,9 @@
|
|
|
2641
2680
|
"effecttsgo/unstable-api-usage": {
|
|
2642
2681
|
"$ref": "#/definitions/RuleNoConfig"
|
|
2643
2682
|
},
|
|
2683
|
+
"effecttsgo/yield-in-call-argument": {
|
|
2684
|
+
"$ref": "#/definitions/RuleNoConfig"
|
|
2685
|
+
},
|
|
2644
2686
|
"eqeqeq": {
|
|
2645
2687
|
"anyOf": [
|
|
2646
2688
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect/tsgo",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.64.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Effect Language Service for TypeScript-Go — Effect-specific diagnostics and hover features.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -41,21 +41,21 @@
|
|
|
41
41
|
"schema.json"
|
|
42
42
|
],
|
|
43
43
|
"optionalDependencies": {
|
|
44
|
-
"@effect/tsgo-win32-
|
|
45
|
-
"@effect/tsgo-win32-
|
|
46
|
-
"@effect/tsgo-linux-x64": "0.
|
|
47
|
-
"@effect/tsgo-linux-arm64": "0.
|
|
48
|
-
"@effect/tsgo-linux-arm": "0.
|
|
49
|
-
"@effect/tsgo-darwin-x64": "0.
|
|
50
|
-
"@effect/tsgo-darwin-arm64": "0.
|
|
44
|
+
"@effect/tsgo-win32-x64": "0.64.1",
|
|
45
|
+
"@effect/tsgo-win32-arm64": "0.64.1",
|
|
46
|
+
"@effect/tsgo-linux-x64": "0.64.1",
|
|
47
|
+
"@effect/tsgo-linux-arm64": "0.64.1",
|
|
48
|
+
"@effect/tsgo-linux-arm": "0.64.1",
|
|
49
|
+
"@effect/tsgo-darwin-x64": "0.64.1",
|
|
50
|
+
"@effect/tsgo-darwin-arm64": "0.64.1"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@effect/platform-node": "^4.
|
|
54
|
-
"@effect/platform-node-shared": "^4.
|
|
53
|
+
"@effect/platform-node": "^4.1.2",
|
|
54
|
+
"@effect/platform-node-shared": "^4.1.2",
|
|
55
55
|
"@types/node": "^24.3.0",
|
|
56
56
|
"tsdown": "^0.20.1",
|
|
57
57
|
"typescript": "^5.9.2",
|
|
58
|
-
"effect": "^4.
|
|
58
|
+
"effect": "^4.1.2",
|
|
59
59
|
"vitest": "^3.2.1"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|