@effect/tsgo 0.35.0 → 0.36.0

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.
@@ -197939,7 +197939,7 @@ var FileReadError = class extends TaggedError$1("FileReadError") {
197939
197939
  //#endregion
197940
197940
  //#region package.json
197941
197941
  var name = "@effect/tsgo";
197942
- var version = "0.35.0";
197942
+ var version = "0.36.0";
197943
197943
 
197944
197944
  //#endregion
197945
197945
  //#region src/cli/setup/consts.ts
@@ -0,0 +1,30 @@
1
+ {
2
+ "options": {
3
+ "typeAware": true
4
+ },
5
+ "plugins": [
6
+ "effecttsgo"
7
+ ],
8
+ "rules": {
9
+ "effecttsgo/catch-unfailable-effect": "warn",
10
+ "effecttsgo/effect-fn-iife": "warn",
11
+ "effecttsgo/effect-gen-uses-adapter": "warn",
12
+ "effecttsgo/effect-in-failure": "warn",
13
+ "effecttsgo/effect-in-void-success": "warn",
14
+ "effecttsgo/global-error-in-effect-catch": "warn",
15
+ "effecttsgo/global-error-in-effect-failure": "warn",
16
+ "effecttsgo/layer-merge-all-with-dependencies": "warn",
17
+ "effecttsgo/lazy-effect": "warn",
18
+ "effecttsgo/lazy-promise-in-effect-sync": "warn",
19
+ "effecttsgo/leaking-requirements": "warn",
20
+ "effecttsgo/multiple-effect-provide": "warn",
21
+ "effecttsgo/prefer-unsafe-constructor": "warn",
22
+ "effecttsgo/return-effect-in-gen": "warn",
23
+ "effecttsgo/run-effect-inside-effect": "warn",
24
+ "effecttsgo/schema-sync-in-effect": "warn",
25
+ "effecttsgo/scope-in-layer-effect": "warn",
26
+ "effecttsgo/strict-effect-provide": "warn",
27
+ "effecttsgo/try-catch-in-effect-gen": "warn",
28
+ "effecttsgo/unknown-in-effect-catch": "warn"
29
+ }
30
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "options": {
3
+ "typeAware": true
4
+ },
5
+ "plugins": [
6
+ "effecttsgo"
7
+ ],
8
+ "rules": {
9
+ "effecttsgo/any-unknown-in-error-context": "warn",
10
+ "effecttsgo/class-self-mismatch": "warn",
11
+ "effecttsgo/duplicate-package": "warn",
12
+ "effecttsgo/effect-fn-implicit-any": "warn",
13
+ "effecttsgo/floating-effect": "warn",
14
+ "effecttsgo/floating-effect-in-vitest": "warn",
15
+ "effecttsgo/generic-effect-services": "warn",
16
+ "effecttsgo/missing-effect-context": "warn",
17
+ "effecttsgo/missing-effect-error": "warn",
18
+ "effecttsgo/missing-layer-context": "warn",
19
+ "effecttsgo/missing-return-yield-star": "warn",
20
+ "effecttsgo/missing-star-in-yield-effect-gen": "warn",
21
+ "effecttsgo/non-object-effect-service-type": "warn",
22
+ "effecttsgo/outdated-api": "warn",
23
+ "effecttsgo/overridden-schema-constructor": "warn",
24
+ "effecttsgo/promise-in-effect-success": "warn",
25
+ "effecttsgo/schema-literal-non-finite": "warn",
26
+ "effecttsgo/schema-opaque-instance-member": "warn"
27
+ }
28
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "options": {
3
+ "typeAware": true
4
+ },
5
+ "plugins": [
6
+ "effecttsgo"
7
+ ],
8
+ "rules": {
9
+ "effecttsgo/abort-controller-in-effect": "warn",
10
+ "effecttsgo/async-function": "warn",
11
+ "effecttsgo/crypto-random-uuid": "warn",
12
+ "effecttsgo/crypto-random-uuid-in-effect": "warn",
13
+ "effecttsgo/extends-native-error": "warn",
14
+ "effecttsgo/global-console": "warn",
15
+ "effecttsgo/global-console-in-effect": "warn",
16
+ "effecttsgo/global-date": "warn",
17
+ "effecttsgo/global-date-in-effect": "warn",
18
+ "effecttsgo/global-fetch": "warn",
19
+ "effecttsgo/global-fetch-in-effect": "warn",
20
+ "effecttsgo/global-random": "warn",
21
+ "effecttsgo/global-random-in-effect": "warn",
22
+ "effecttsgo/global-timers": "warn",
23
+ "effecttsgo/global-timers-in-effect": "warn",
24
+ "effecttsgo/instance-of-schema": "warn",
25
+ "effecttsgo/new-promise": "warn",
26
+ "effecttsgo/node-builtin-import": "warn",
27
+ "effecttsgo/prefer-schema-over-json": "warn",
28
+ "effecttsgo/process-env": "warn",
29
+ "effecttsgo/process-env-in-effect": "warn",
30
+ "effecttsgo/unsafe-effect-type-assertion": "warn"
31
+ }
32
+ }
@@ -0,0 +1,17 @@
1
+ // Code generated by the @effect/tsgo package build. DO NOT EDIT.
2
+
3
+ import type { OxlintConfig } from "oxlint"
4
+
5
+ export declare const antipattern: OxlintConfig
6
+ export declare const correctness: OxlintConfig
7
+ export declare const effectNative: OxlintConfig
8
+ export declare const recommended: OxlintConfig
9
+ export declare const style: OxlintConfig
10
+
11
+ export declare const presets: Readonly<{
12
+ antipattern: OxlintConfig
13
+ correctness: OxlintConfig
14
+ effectNative: OxlintConfig
15
+ recommended: OxlintConfig
16
+ style: OxlintConfig
17
+ }>
@@ -0,0 +1,240 @@
1
+ // Code generated by the @effect/tsgo package build. DO NOT EDIT.
2
+
3
+ export const antipattern = {
4
+ "options": {
5
+ "typeAware": true
6
+ },
7
+ "plugins": [
8
+ "effecttsgo"
9
+ ],
10
+ "rules": {
11
+ "effecttsgo/catch-unfailable-effect": "warn",
12
+ "effecttsgo/effect-fn-iife": "warn",
13
+ "effecttsgo/effect-gen-uses-adapter": "warn",
14
+ "effecttsgo/effect-in-failure": "warn",
15
+ "effecttsgo/effect-in-void-success": "warn",
16
+ "effecttsgo/global-error-in-effect-catch": "warn",
17
+ "effecttsgo/global-error-in-effect-failure": "warn",
18
+ "effecttsgo/layer-merge-all-with-dependencies": "warn",
19
+ "effecttsgo/lazy-effect": "warn",
20
+ "effecttsgo/lazy-promise-in-effect-sync": "warn",
21
+ "effecttsgo/leaking-requirements": "warn",
22
+ "effecttsgo/multiple-effect-provide": "warn",
23
+ "effecttsgo/prefer-unsafe-constructor": "warn",
24
+ "effecttsgo/return-effect-in-gen": "warn",
25
+ "effecttsgo/run-effect-inside-effect": "warn",
26
+ "effecttsgo/schema-sync-in-effect": "warn",
27
+ "effecttsgo/scope-in-layer-effect": "warn",
28
+ "effecttsgo/strict-effect-provide": "warn",
29
+ "effecttsgo/try-catch-in-effect-gen": "warn",
30
+ "effecttsgo/unknown-in-effect-catch": "warn"
31
+ }
32
+ }
33
+
34
+ export const correctness = {
35
+ "options": {
36
+ "typeAware": true
37
+ },
38
+ "plugins": [
39
+ "effecttsgo"
40
+ ],
41
+ "rules": {
42
+ "effecttsgo/any-unknown-in-error-context": "warn",
43
+ "effecttsgo/class-self-mismatch": "warn",
44
+ "effecttsgo/duplicate-package": "warn",
45
+ "effecttsgo/effect-fn-implicit-any": "warn",
46
+ "effecttsgo/floating-effect": "warn",
47
+ "effecttsgo/floating-effect-in-vitest": "warn",
48
+ "effecttsgo/generic-effect-services": "warn",
49
+ "effecttsgo/missing-effect-context": "warn",
50
+ "effecttsgo/missing-effect-error": "warn",
51
+ "effecttsgo/missing-layer-context": "warn",
52
+ "effecttsgo/missing-return-yield-star": "warn",
53
+ "effecttsgo/missing-star-in-yield-effect-gen": "warn",
54
+ "effecttsgo/non-object-effect-service-type": "warn",
55
+ "effecttsgo/outdated-api": "warn",
56
+ "effecttsgo/overridden-schema-constructor": "warn",
57
+ "effecttsgo/promise-in-effect-success": "warn",
58
+ "effecttsgo/schema-literal-non-finite": "warn",
59
+ "effecttsgo/schema-opaque-instance-member": "warn"
60
+ }
61
+ }
62
+
63
+ export const effectNative = {
64
+ "options": {
65
+ "typeAware": true
66
+ },
67
+ "plugins": [
68
+ "effecttsgo"
69
+ ],
70
+ "rules": {
71
+ "effecttsgo/abort-controller-in-effect": "warn",
72
+ "effecttsgo/async-function": "warn",
73
+ "effecttsgo/crypto-random-uuid": "warn",
74
+ "effecttsgo/crypto-random-uuid-in-effect": "warn",
75
+ "effecttsgo/extends-native-error": "warn",
76
+ "effecttsgo/global-console": "warn",
77
+ "effecttsgo/global-console-in-effect": "warn",
78
+ "effecttsgo/global-date": "warn",
79
+ "effecttsgo/global-date-in-effect": "warn",
80
+ "effecttsgo/global-fetch": "warn",
81
+ "effecttsgo/global-fetch-in-effect": "warn",
82
+ "effecttsgo/global-random": "warn",
83
+ "effecttsgo/global-random-in-effect": "warn",
84
+ "effecttsgo/global-timers": "warn",
85
+ "effecttsgo/global-timers-in-effect": "warn",
86
+ "effecttsgo/instance-of-schema": "warn",
87
+ "effecttsgo/new-promise": "warn",
88
+ "effecttsgo/node-builtin-import": "warn",
89
+ "effecttsgo/prefer-schema-over-json": "warn",
90
+ "effecttsgo/process-env": "warn",
91
+ "effecttsgo/process-env-in-effect": "warn",
92
+ "effecttsgo/unsafe-effect-type-assertion": "warn"
93
+ }
94
+ }
95
+
96
+ export const recommended = {
97
+ "options": {
98
+ "typeAware": true
99
+ },
100
+ "plugins": [
101
+ "effecttsgo"
102
+ ],
103
+ "rules": {
104
+ "effecttsgo/abort-controller-in-effect": "warn",
105
+ "effecttsgo/async-function": "warn",
106
+ "effecttsgo/catch-all-to-map-error": "warn",
107
+ "effecttsgo/catch-chain-to-first-success-of": "warn",
108
+ "effecttsgo/catch-tag-to-catch-reason": "warn",
109
+ "effecttsgo/catch-to-ignore": "warn",
110
+ "effecttsgo/catch-to-or-else-succeed": "warn",
111
+ "effecttsgo/catch-unfailable-effect": "warn",
112
+ "effecttsgo/class-self-mismatch": "error",
113
+ "effecttsgo/crypto-random-uuid": "warn",
114
+ "effecttsgo/crypto-random-uuid-in-effect": "warn",
115
+ "effecttsgo/duplicate-package": "warn",
116
+ "effecttsgo/effect-fn-iife": "warn",
117
+ "effecttsgo/effect-fn-implicit-any": "error",
118
+ "effecttsgo/effect-fn-opportunity": "warn",
119
+ "effecttsgo/effect-gen-uses-adapter": "warn",
120
+ "effecttsgo/effect-in-failure": "warn",
121
+ "effecttsgo/effect-in-void-success": "warn",
122
+ "effecttsgo/effect-map-flatten": "warn",
123
+ "effecttsgo/effect-map-void": "warn",
124
+ "effecttsgo/effect-succeed-with-void": "warn",
125
+ "effecttsgo/extends-native-error": "warn",
126
+ "effecttsgo/flat-map-to-map": "warn",
127
+ "effecttsgo/floating-effect": "error",
128
+ "effecttsgo/floating-effect-in-vitest": "error",
129
+ "effecttsgo/generic-effect-services": "warn",
130
+ "effecttsgo/global-console": "warn",
131
+ "effecttsgo/global-console-in-effect": "warn",
132
+ "effecttsgo/global-date": "warn",
133
+ "effecttsgo/global-date-in-effect": "warn",
134
+ "effecttsgo/global-error-in-effect-catch": "warn",
135
+ "effecttsgo/global-error-in-effect-failure": "warn",
136
+ "effecttsgo/global-fetch": "warn",
137
+ "effecttsgo/global-fetch-in-effect": "warn",
138
+ "effecttsgo/global-random": "warn",
139
+ "effecttsgo/global-random-in-effect": "warn",
140
+ "effecttsgo/global-timers": "warn",
141
+ "effecttsgo/global-timers-in-effect": "warn",
142
+ "effecttsgo/instance-of-schema": "warn",
143
+ "effecttsgo/layer-merge-all-with-dependencies": "warn",
144
+ "effecttsgo/lazy-effect": "warn",
145
+ "effecttsgo/lazy-promise-in-effect-sync": "warn",
146
+ "effecttsgo/leaking-requirements": "warn",
147
+ "effecttsgo/missing-effect-context": "error",
148
+ "effecttsgo/missing-effect-error": "error",
149
+ "effecttsgo/missing-layer-context": "error",
150
+ "effecttsgo/missing-return-yield-star": "error",
151
+ "effecttsgo/missing-star-in-yield-effect-gen": "error",
152
+ "effecttsgo/multiple-catch-tag": "warn",
153
+ "effecttsgo/multiple-effect-provide": "warn",
154
+ "effecttsgo/new-promise": "warn",
155
+ "effecttsgo/node-builtin-import": "warn",
156
+ "effecttsgo/non-object-effect-service-type": "error",
157
+ "effecttsgo/outdated-api": "warn",
158
+ "effecttsgo/overridden-schema-constructor": "error",
159
+ "effecttsgo/prefer-schema-over-json": "warn",
160
+ "effecttsgo/prefer-typed-schema-decoder": "warn",
161
+ "effecttsgo/prefer-unsafe-constructor": "warn",
162
+ "effecttsgo/process-env": "warn",
163
+ "effecttsgo/process-env-in-effect": "warn",
164
+ "effecttsgo/promise-in-effect-success": "warn",
165
+ "effecttsgo/redundant-map-error": "warn",
166
+ "effecttsgo/redundant-or-die": "warn",
167
+ "effecttsgo/redundant-schema-tag-identifier": "warn",
168
+ "effecttsgo/return-effect-in-gen": "warn",
169
+ "effecttsgo/run-effect-inside-effect": "warn",
170
+ "effecttsgo/schema-literal-non-finite": "error",
171
+ "effecttsgo/schema-number": "warn",
172
+ "effecttsgo/schema-opaque-instance-member": "error",
173
+ "effecttsgo/schema-struct-with-tag": "warn",
174
+ "effecttsgo/schema-sync-in-effect": "warn",
175
+ "effecttsgo/scope-in-layer-effect": "warn",
176
+ "effecttsgo/sync-to-succeed": "warn",
177
+ "effecttsgo/try-catch-in-effect-gen": "warn",
178
+ "effecttsgo/unknown-in-effect-catch": "warn",
179
+ "effecttsgo/unnecessary-effect-gen": "warn",
180
+ "effecttsgo/unnecessary-fail-yieldable-error": "warn",
181
+ "effecttsgo/unnecessary-pipe": "warn",
182
+ "effecttsgo/unnecessary-pipe-chain": "warn",
183
+ "effecttsgo/unnecessary-typeof-type": "warn",
184
+ "effecttsgo/unsafe-effect-type-assertion": "warn"
185
+ }
186
+ }
187
+
188
+ export const style = {
189
+ "options": {
190
+ "typeAware": true
191
+ },
192
+ "plugins": [
193
+ "effecttsgo"
194
+ ],
195
+ "rules": {
196
+ "effecttsgo/catch-all-to-map-error": "warn",
197
+ "effecttsgo/catch-chain-to-first-success-of": "warn",
198
+ "effecttsgo/catch-tag-to-catch-reason": "warn",
199
+ "effecttsgo/catch-to-ignore": "warn",
200
+ "effecttsgo/catch-to-or-else-succeed": "warn",
201
+ "effecttsgo/deterministic-keys": "warn",
202
+ "effecttsgo/effect-do-notation": "warn",
203
+ "effecttsgo/effect-fn-opportunity": "warn",
204
+ "effecttsgo/effect-map-flatten": "warn",
205
+ "effecttsgo/effect-map-void": "warn",
206
+ "effecttsgo/effect-succeed-with-void": "warn",
207
+ "effecttsgo/flat-map-to-map": "warn",
208
+ "effecttsgo/missed-pipeable-opportunity": "warn",
209
+ "effecttsgo/missing-effect-service-dependency": "warn",
210
+ "effecttsgo/missing-pipeable-signature": "warn",
211
+ "effecttsgo/multiple-catch-tag": "warn",
212
+ "effecttsgo/nested-effect-gen-yield": "warn",
213
+ "effecttsgo/new-schema-class": "warn",
214
+ "effecttsgo/prefer-schema-type-property": "warn",
215
+ "effecttsgo/prefer-typed-schema-decoder": "warn",
216
+ "effecttsgo/redundant-map-error": "warn",
217
+ "effecttsgo/redundant-or-die": "warn",
218
+ "effecttsgo/redundant-schema-tag-identifier": "warn",
219
+ "effecttsgo/schema-number": "warn",
220
+ "effecttsgo/schema-struct-with-tag": "warn",
221
+ "effecttsgo/schema-union-of-literals": "warn",
222
+ "effecttsgo/service-not-as-class": "warn",
223
+ "effecttsgo/strict-boolean-expressions": "warn",
224
+ "effecttsgo/sync-to-succeed": "warn",
225
+ "effecttsgo/unnecessary-arrow-block": "warn",
226
+ "effecttsgo/unnecessary-effect-gen": "warn",
227
+ "effecttsgo/unnecessary-fail-yieldable-error": "warn",
228
+ "effecttsgo/unnecessary-pipe": "warn",
229
+ "effecttsgo/unnecessary-pipe-chain": "warn",
230
+ "effecttsgo/unnecessary-typeof-type": "warn"
231
+ }
232
+ }
233
+
234
+ export const presets = {
235
+ antipattern,
236
+ correctness,
237
+ effectNative,
238
+ recommended,
239
+ style,
240
+ }
@@ -0,0 +1,91 @@
1
+ {
2
+ "options": {
3
+ "typeAware": true
4
+ },
5
+ "plugins": [
6
+ "effecttsgo"
7
+ ],
8
+ "rules": {
9
+ "effecttsgo/abort-controller-in-effect": "warn",
10
+ "effecttsgo/async-function": "warn",
11
+ "effecttsgo/catch-all-to-map-error": "warn",
12
+ "effecttsgo/catch-chain-to-first-success-of": "warn",
13
+ "effecttsgo/catch-tag-to-catch-reason": "warn",
14
+ "effecttsgo/catch-to-ignore": "warn",
15
+ "effecttsgo/catch-to-or-else-succeed": "warn",
16
+ "effecttsgo/catch-unfailable-effect": "warn",
17
+ "effecttsgo/class-self-mismatch": "error",
18
+ "effecttsgo/crypto-random-uuid": "warn",
19
+ "effecttsgo/crypto-random-uuid-in-effect": "warn",
20
+ "effecttsgo/duplicate-package": "warn",
21
+ "effecttsgo/effect-fn-iife": "warn",
22
+ "effecttsgo/effect-fn-implicit-any": "error",
23
+ "effecttsgo/effect-fn-opportunity": "warn",
24
+ "effecttsgo/effect-gen-uses-adapter": "warn",
25
+ "effecttsgo/effect-in-failure": "warn",
26
+ "effecttsgo/effect-in-void-success": "warn",
27
+ "effecttsgo/effect-map-flatten": "warn",
28
+ "effecttsgo/effect-map-void": "warn",
29
+ "effecttsgo/effect-succeed-with-void": "warn",
30
+ "effecttsgo/extends-native-error": "warn",
31
+ "effecttsgo/flat-map-to-map": "warn",
32
+ "effecttsgo/floating-effect": "error",
33
+ "effecttsgo/floating-effect-in-vitest": "error",
34
+ "effecttsgo/generic-effect-services": "warn",
35
+ "effecttsgo/global-console": "warn",
36
+ "effecttsgo/global-console-in-effect": "warn",
37
+ "effecttsgo/global-date": "warn",
38
+ "effecttsgo/global-date-in-effect": "warn",
39
+ "effecttsgo/global-error-in-effect-catch": "warn",
40
+ "effecttsgo/global-error-in-effect-failure": "warn",
41
+ "effecttsgo/global-fetch": "warn",
42
+ "effecttsgo/global-fetch-in-effect": "warn",
43
+ "effecttsgo/global-random": "warn",
44
+ "effecttsgo/global-random-in-effect": "warn",
45
+ "effecttsgo/global-timers": "warn",
46
+ "effecttsgo/global-timers-in-effect": "warn",
47
+ "effecttsgo/instance-of-schema": "warn",
48
+ "effecttsgo/layer-merge-all-with-dependencies": "warn",
49
+ "effecttsgo/lazy-effect": "warn",
50
+ "effecttsgo/lazy-promise-in-effect-sync": "warn",
51
+ "effecttsgo/leaking-requirements": "warn",
52
+ "effecttsgo/missing-effect-context": "error",
53
+ "effecttsgo/missing-effect-error": "error",
54
+ "effecttsgo/missing-layer-context": "error",
55
+ "effecttsgo/missing-return-yield-star": "error",
56
+ "effecttsgo/missing-star-in-yield-effect-gen": "error",
57
+ "effecttsgo/multiple-catch-tag": "warn",
58
+ "effecttsgo/multiple-effect-provide": "warn",
59
+ "effecttsgo/new-promise": "warn",
60
+ "effecttsgo/node-builtin-import": "warn",
61
+ "effecttsgo/non-object-effect-service-type": "error",
62
+ "effecttsgo/outdated-api": "warn",
63
+ "effecttsgo/overridden-schema-constructor": "error",
64
+ "effecttsgo/prefer-schema-over-json": "warn",
65
+ "effecttsgo/prefer-typed-schema-decoder": "warn",
66
+ "effecttsgo/prefer-unsafe-constructor": "warn",
67
+ "effecttsgo/process-env": "warn",
68
+ "effecttsgo/process-env-in-effect": "warn",
69
+ "effecttsgo/promise-in-effect-success": "warn",
70
+ "effecttsgo/redundant-map-error": "warn",
71
+ "effecttsgo/redundant-or-die": "warn",
72
+ "effecttsgo/redundant-schema-tag-identifier": "warn",
73
+ "effecttsgo/return-effect-in-gen": "warn",
74
+ "effecttsgo/run-effect-inside-effect": "warn",
75
+ "effecttsgo/schema-literal-non-finite": "error",
76
+ "effecttsgo/schema-number": "warn",
77
+ "effecttsgo/schema-opaque-instance-member": "error",
78
+ "effecttsgo/schema-struct-with-tag": "warn",
79
+ "effecttsgo/schema-sync-in-effect": "warn",
80
+ "effecttsgo/scope-in-layer-effect": "warn",
81
+ "effecttsgo/sync-to-succeed": "warn",
82
+ "effecttsgo/try-catch-in-effect-gen": "warn",
83
+ "effecttsgo/unknown-in-effect-catch": "warn",
84
+ "effecttsgo/unnecessary-effect-gen": "warn",
85
+ "effecttsgo/unnecessary-fail-yieldable-error": "warn",
86
+ "effecttsgo/unnecessary-pipe": "warn",
87
+ "effecttsgo/unnecessary-pipe-chain": "warn",
88
+ "effecttsgo/unnecessary-typeof-type": "warn",
89
+ "effecttsgo/unsafe-effect-type-assertion": "warn"
90
+ }
91
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "options": {
3
+ "typeAware": true
4
+ },
5
+ "plugins": [
6
+ "effecttsgo"
7
+ ],
8
+ "rules": {
9
+ "effecttsgo/catch-all-to-map-error": "warn",
10
+ "effecttsgo/catch-chain-to-first-success-of": "warn",
11
+ "effecttsgo/catch-tag-to-catch-reason": "warn",
12
+ "effecttsgo/catch-to-ignore": "warn",
13
+ "effecttsgo/catch-to-or-else-succeed": "warn",
14
+ "effecttsgo/deterministic-keys": "warn",
15
+ "effecttsgo/effect-do-notation": "warn",
16
+ "effecttsgo/effect-fn-opportunity": "warn",
17
+ "effecttsgo/effect-map-flatten": "warn",
18
+ "effecttsgo/effect-map-void": "warn",
19
+ "effecttsgo/effect-succeed-with-void": "warn",
20
+ "effecttsgo/flat-map-to-map": "warn",
21
+ "effecttsgo/missed-pipeable-opportunity": "warn",
22
+ "effecttsgo/missing-effect-service-dependency": "warn",
23
+ "effecttsgo/missing-pipeable-signature": "warn",
24
+ "effecttsgo/multiple-catch-tag": "warn",
25
+ "effecttsgo/nested-effect-gen-yield": "warn",
26
+ "effecttsgo/new-schema-class": "warn",
27
+ "effecttsgo/prefer-schema-type-property": "warn",
28
+ "effecttsgo/prefer-typed-schema-decoder": "warn",
29
+ "effecttsgo/redundant-map-error": "warn",
30
+ "effecttsgo/redundant-or-die": "warn",
31
+ "effecttsgo/redundant-schema-tag-identifier": "warn",
32
+ "effecttsgo/schema-number": "warn",
33
+ "effecttsgo/schema-struct-with-tag": "warn",
34
+ "effecttsgo/schema-union-of-literals": "warn",
35
+ "effecttsgo/service-not-as-class": "warn",
36
+ "effecttsgo/strict-boolean-expressions": "warn",
37
+ "effecttsgo/sync-to-succeed": "warn",
38
+ "effecttsgo/unnecessary-arrow-block": "warn",
39
+ "effecttsgo/unnecessary-effect-gen": "warn",
40
+ "effecttsgo/unnecessary-fail-yieldable-error": "warn",
41
+ "effecttsgo/unnecessary-pipe": "warn",
42
+ "effecttsgo/unnecessary-pipe-chain": "warn",
43
+ "effecttsgo/unnecessary-typeof-type": "warn"
44
+ }
45
+ }
@@ -2410,6 +2410,9 @@
2410
2410
  "effecttsgo/prefer-schema-type-property": {
2411
2411
  "$ref": "#/definitions/RuleNoConfig"
2412
2412
  },
2413
+ "effecttsgo/prefer-typed-schema-decoder": {
2414
+ "$ref": "#/definitions/RuleNoConfig"
2415
+ },
2413
2416
  "effecttsgo/prefer-unsafe-constructor": {
2414
2417
  "$ref": "#/definitions/RuleNoConfig"
2415
2418
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect/tsgo",
3
- "version": "0.35.0",
3
+ "version": "0.36.0",
4
4
  "type": "module",
5
5
  "description": "Effect Language Service for TypeScript-Go — Effect-specific diagnostics and hover features.",
6
6
  "license": "MIT",
@@ -23,23 +23,31 @@
23
23
  "./lib/getExePath": {
24
24
  "types": "./lib/getExePath.d.ts",
25
25
  "default": "./lib/getExePath.js"
26
+ },
27
+ "./oxlint-presets": {
28
+ "types": "./oxlint-presets/index.d.ts",
29
+ "default": "./oxlint-presets/index.js"
30
+ },
31
+ "./oxlint-presets/*.json": {
32
+ "default": "./oxlint-presets/*.json"
26
33
  }
27
34
  },
28
35
  "files": [
29
36
  "dist/",
30
37
  "lib/",
31
38
  "README.md",
39
+ "oxlint-presets/",
32
40
  "oxlint-schema.json",
33
41
  "schema.json"
34
42
  ],
35
43
  "optionalDependencies": {
36
- "@effect/tsgo-win32-x64": "0.35.0",
37
- "@effect/tsgo-win32-arm64": "0.35.0",
38
- "@effect/tsgo-linux-x64": "0.35.0",
39
- "@effect/tsgo-linux-arm64": "0.35.0",
40
- "@effect/tsgo-linux-arm": "0.35.0",
41
- "@effect/tsgo-darwin-x64": "0.35.0",
42
- "@effect/tsgo-darwin-arm64": "0.35.0"
44
+ "@effect/tsgo-win32-x64": "0.36.0",
45
+ "@effect/tsgo-win32-arm64": "0.36.0",
46
+ "@effect/tsgo-linux-x64": "0.36.0",
47
+ "@effect/tsgo-linux-arm64": "0.36.0",
48
+ "@effect/tsgo-linux-arm": "0.36.0",
49
+ "@effect/tsgo-darwin-x64": "0.36.0",
50
+ "@effect/tsgo-darwin-arm64": "0.36.0"
43
51
  },
44
52
  "devDependencies": {
45
53
  "@effect/platform-node": "^4.0.0-beta.104",
package/schema.json CHANGED
@@ -2135,6 +2135,11 @@
2135
2135
  "default": "off",
2136
2136
  "description": "Disallows Schema.Schema.Type\u003ctypeof X\u003e in favor of typeof X.Type"
2137
2137
  },
2138
+ "preferTypedSchemaDecoder": {
2139
+ "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
2140
+ "default": "suggestion",
2141
+ "description": "Suggests typed Schema decoders when the input is assignable to the schema's Encoded type"
2142
+ },
2138
2143
  "preferUnsafeConstructor": {
2139
2144
  "$ref": "#/definitions/effectLanguageServicePluginSeverityDefinition",
2140
2145
  "default": "suggestion",