@webority/biome-config 0.7.4 → 0.7.5
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 -2
- package/biome.jsonc +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
The **single source of truth** for Biome lint + format policy across Webority frontend
|
|
4
4
|
products. Extend it from a product's `biome.json` so every repo inherits the same
|
|
5
|
-
|
|
5
|
+
shared ruleset — and a policy change is one version bump, not an N-way copy that
|
|
6
6
|
drifts. Same model as the shared `@webority/theme` + `@webority/ui-react`.
|
|
7
7
|
|
|
8
8
|
## Use
|
|
@@ -29,7 +29,7 @@ set `crlf` only for a CRLF repo):
|
|
|
29
29
|
}
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
## What's decided here (once, for
|
|
32
|
+
## What's decided here (once, for every repo)
|
|
33
33
|
|
|
34
34
|
- **Format:** 4-space, width 140, double quotes, semicolons, trailing commas.
|
|
35
35
|
- **`useExhaustiveDependencies: off`** — noise-by-nature on correct React effect/RHF code.
|
package/biome.jsonc
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"root": false,
|
|
7
7
|
// Shared Webority frontend lint + format policy. Products EXTEND this and add
|
|
8
8
|
// only their own repo-specific bits (vcs.root, files.includes, formatter.lineEnding).
|
|
9
|
-
// Every rule decision below is made ONCE for
|
|
9
|
+
// Every rule decision below is made ONCE for every Webority repo, with rationale, and inherited
|
|
10
10
|
// by every product via a version bump — no per-repo drift.
|
|
11
11
|
"formatter": {
|
|
12
12
|
"enabled": true,
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"noUnusedVariables": "error",
|
|
33
33
|
"noUnusedFunctionParameters": "warn",
|
|
34
34
|
// Noise-by-nature on correct React effect/RHF code (fires on every
|
|
35
|
-
// deliberate trigger-only / run-once effect).
|
|
35
|
+
// deliberate trigger-only / run-once effect). Decision: off.
|
|
36
36
|
"useExhaustiveDependencies": "off",
|
|
37
37
|
"useHookAtTopLevel": "error"
|
|
38
38
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webority/biome-config",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.5",
|
|
4
4
|
"description": "Shared Biome lint + format policy for Webority frontend products. Extend it from a product biome.json so every repo inherits one fleet-decided ruleset, bumped by version — no per-repo drift.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"publishConfig": {
|