@effect/language-service 0.54.0 → 0.55.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 +2 -0
- package/cli.js +447 -311
- package/cli.js.map +1 -1
- package/effect-lsp-patch-utils.js +163 -27
- package/effect-lsp-patch-utils.js.map +1 -1
- package/index.js +185 -49
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/transform.js +163 -27
- package/transform.js.map +1 -1
package/README.md
CHANGED
|
@@ -70,6 +70,8 @@ And you're done! You'll now be able to use a set of refactors and diagnostics th
|
|
|
70
70
|
- Detect nested function calls that can be converted to pipeable style for better readability
|
|
71
71
|
- Warn when using catch functions (`catchAll`, `catch`, `catchIf`, `catchSome`, `catchTag`, `catchTags`) on effects that never fail
|
|
72
72
|
- Warn when catch callbacks in `Effect.tryPromise`, `Effect.tryMap`, or `Effect.tryMapPromise` return `unknown` or `any` types
|
|
73
|
+
- Warn when using `Effect.runSync`, `Effect.runPromise`, `Effect.runFork`, or `Effect.runCallback` inside an Effect
|
|
74
|
+
- Warn when using `Schema.Union` with multiple `Schema.Literal` calls that can be simplified to a single `Schema.Literal` call
|
|
73
75
|
|
|
74
76
|
### Completions
|
|
75
77
|
|