@effect/language-service 0.28.2 → 0.29.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
@@ -103,6 +103,34 @@ Few options can be provided alongside the initialization of the Language Service
103
103
  }
104
104
  ```
105
105
 
106
+ ### DiagnosticSeverty properties list
107
+
108
+ The full list can be found in the [diagnostics](https://github.com/Effect-TS/language-service/tree/main/src/diagnostics) folder.
109
+ Here is the current list of diagnostics you can use to override severity:
110
+
111
+
112
+ ```bash
113
+ duplicatePackage
114
+ effectInVoidSuccess
115
+ floatingEffect
116
+ genericEffectServices
117
+ importFromBarrel
118
+ leakingRequirements
119
+ middlewareAutoImportQuickfixes
120
+ missingEffectContext
121
+ missingEffectError
122
+ missingReturnYieldStar
123
+ missingStarInYieldEffectGen
124
+ multipleEffectProvide
125
+ returnEffectInGen
126
+ scopeInLayerEffect
127
+ strictBooleanExpressions
128
+ tryCatchInEffectGen
129
+ unnecessaryEffectGen
130
+ unnecessaryPipe
131
+ unnecessaryPipeChain
132
+ ```
133
+
106
134
  ## Why do diagnostics not appear at compile time?
107
135
 
108
136
  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.