You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/configuration/index.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,15 +59,18 @@ When the same option is specified in multiple places, this priority applies:
59
59
2.**Configuration file**
60
60
3.**Default values** (lowest priority)
61
61
62
-
## DuplicateValuesValidator
62
+
## Opt-In Validators
63
63
64
64
::: info
65
-
The `DuplicateValuesValidator` is disabled by default to reduce noise in validation results, as duplicate values are often intentional (e.g., common button labels like "OK" or "Cancel").
65
+
The `DuplicateValuesValidator` and the `KeyNamingConventionValidator` are disabled by default to reduce noise in validation results:
66
+
67
+
-**DuplicateValuesValidator** — duplicate values are often intentional (e.g., common button labels like "OK" or "Cancel").
68
+
-**KeyNamingConventionValidator** — auto-detected naming conventions frequently produce false positives on mixed but intentional key styles.
66
69
:::
67
70
68
-
To enable it, either:
71
+
To enable one of them, either:
69
72
- Use `--only` to explicitly include it
70
-
- Set `skip: []` in your configuration file
73
+
- Set `skip: []` in your configuration file (enables all validators)
This validator is disabled by default, as auto-detected naming conventions often produce false positives on mixed but intentional key styles. Enable it when you want to enforce a convention.
442
+
:::
443
+
440
444
::: tip
441
445
This validator auto-detects the most common pattern in your files. Configure a specific convention for strict enforcement.
0 commit comments