@doubleloop-io/oxlint-plugin-effect 0.1.0-rc.2 → 0.1.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/CHANGELOG.md +11 -0
- package/README.md +1 -1
- package/package.json +2 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# @doubleloop-io/oxlint-plugin-effect
|
|
2
|
+
|
|
3
|
+
## 0.1.0
|
|
4
|
+
|
|
5
|
+
First stable release.
|
|
6
|
+
|
|
7
|
+
- 30 rules for Effect code, grouped by topic in [`RULES.md`](RULES.md): error channel, tagged values, services and Layers, runtime and entry point, design and boundaries, effectful functions, code shape, Schema, config and secrets. Three are absorbed from [`dmmulroy/anti-slop`](https://github.com/dmmulroy/anti-slop).
|
|
8
|
+
- An `all` preset that enables every rule at `warn`, for `oxlint.config.ts` and `.oxlintrc.json`.
|
|
9
|
+
- Shared settings under `settings["dl-effect"]`: `entryFiles`, `testFiles`, `discriminants`.
|
|
10
|
+
- Written for Effect 4; rules also recognize the Effect 3 name of the same API.
|
|
11
|
+
- Requires Node `^22.20.0 || >=24.8.0` and oxlint `^1.82.0`.
|
package/README.md
CHANGED
|
@@ -107,7 +107,7 @@ export default defineConfig({ extends: [effectTsgoRecommended, dlEffectAll] })
|
|
|
107
107
|
|
|
108
108
|
## Rules
|
|
109
109
|
|
|
110
|
-
What each rule reports and why is in [`RULES.md`](RULES.md).
|
|
110
|
+
What each rule reports and why is in [`RULES.md`](RULES.md). Report false positives and missed cases in the [GitHub issues](https://github.com/doubleloop-io/oxlint-plugin-effect/issues).
|
|
111
111
|
|
|
112
112
|
| Topic | Rules |
|
|
113
113
|
| -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@doubleloop-io/oxlint-plugin-effect",
|
|
3
|
-
"version": "0.1.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Oxlint rules for Effect 4 code",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"dist/",
|
|
12
12
|
"RULES.md",
|
|
13
13
|
"README.md",
|
|
14
|
+
"CHANGELOG.md",
|
|
14
15
|
"LICENSE",
|
|
15
16
|
"LICENSE.anti-slop"
|
|
16
17
|
],
|