@reticlehq/eslint-plugin 2.7.0 → 2.9.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 +5 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -4,8 +4,8 @@ Keeps the Reticle **signal layer self-enforcing**. When your store mutates user-
|
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
|
-
```
|
|
8
|
-
|
|
7
|
+
```bash
|
|
8
|
+
npm i -D @reticlehq/eslint-plugin
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
Peer dependency: `eslint >= 9` (flat config).
|
|
@@ -95,4 +95,6 @@ function commit() {
|
|
|
95
95
|
|
|
96
96
|
## How it fits the workflow
|
|
97
97
|
|
|
98
|
-
The runtime side advertises signals via `registerCapabilities({ signals: [...] })`
|
|
98
|
+
The runtime side advertises signals via `registerCapabilities({ signals: [...] })` and fires them with `reticle.signal(name, data)`. A Zustand `signalMap` / `commitAndSignal` pair centralizes that in your store. This lint rule is the **static** counterpart that guards those pairs so the signal map can't silently fall behind the store.
|
|
99
|
+
|
|
100
|
+
Apache-2.0.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reticlehq/eslint-plugin",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.9.0",
|
|
4
4
|
"description": "Reticle ESLint plugin — keeps the signal layer self-enforcing (mutation-without-signal).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@typescript-eslint/utils": "^8.
|
|
15
|
+
"@typescript-eslint/utils": "^8.67.0"
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
18
18
|
"eslint": ">=9"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@typescript-eslint/rule-tester": "^8.
|
|
21
|
+
"@typescript-eslint/rule-tester": "^8.67.0"
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"author": "Reticle contributors",
|