@effect/language-service 0.28.3 → 0.30.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.
package/README.md CHANGED
@@ -46,10 +46,12 @@ And you're done! You'll now be able to use a set of refactors and diagnostics th
46
46
  - Warn on leaking requirements in Effect services
47
47
  - Warn on Scope as requirement of a Layer
48
48
  - Warn on subsequent `Effect.provide` anti-pattern
49
+ - Detect wrong `Self` type parameter for APIs like `Effect.Service` or `Schema.TaggedError` and similar 
49
50
  - Unnecessary usages of `Effect.gen` or `pipe()`
50
51
  - Warn when importing from a barrel file instead of from the module directly
51
52
  - Warn on usage of try/catch inside `Effect.gen` and family
52
53
  - Detect unnecessary pipe chains like `X.pipe(Y).pipe(Z)`
54
+ - Warn when using `Effect.Service` with `accessors: true` but methods have generics or multiple signatures
53
55
 
54
56
  ### Completions
55
57
 
@@ -103,6 +105,10 @@ Few options can be provided alongside the initialization of the Language Service
103
105
  }
104
106
  ```
105
107
 
108
+ ### DiagnosticSeverty properties list
109
+
110
+ The full list can be found in the [diagnostics](https://github.com/Effect-TS/language-service/tree/main/src/diagnostics) folder.
111
+
106
112
  ## Why do diagnostics not appear at compile time?
107
113
 
108
114
  TypeScript LSPs are loaded only while editing your files. That means that if you run `tsc` in your project, the plugin won't be loaded and you'll miss out on the Effect diagnostics.