Commit 30b8e1b
Level all rules to warn severity
Every rule now reports at a single severity — `warn`:
- All inline rules in src/all-rules.json set to severity: warn (were info).
- Active (recommended) built-in spectral:oas / spectral:asyncapi rules are
re-leveled to warn in activeRulesetDef via the new builtinRecommendedByFormat
export; dormant non-recommended built-ins stay off, oas2 stays off.
User per-rule overrides still win (applied after). Verified: all emitted
diagnostics across OpenAPI/AsyncAPI/Arazzo/JSON Schema are severity=warn.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent e6491ce commit 30b8e1b
3 files changed
Lines changed: 18 additions & 3 deletions
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
258 | 262 | | |
259 | 263 | | |
| 264 | + | |
260 | 265 | | |
261 | 266 | | |
262 | 267 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
42 | 52 | | |
43 | 53 | | |
44 | 54 | | |
| |||
0 commit comments