Skip to content

Commit c3816a1

Browse files
akushonkamenjrusso1020claude
authored
docs(lint): add a reference page for every lint finding code (#5493)
* docs(lint): add a reference page for every lint finding code docs/reference/lint-rules.mdx lists every code emitted by the linter (132: the 121 rule codes in packages/lint/src/rules/*.ts plus the 11 project-level probes that run as part of a project lint) with its severity, what it catches, and how to fix it, grouped by the rule file the code comes from. Conditional severities (Studio-host structure checks, GSAP seek-order hazards) say when they escalate. Link it from docs/packages/lint.mdx and add it to the Composition reference group in docs.json. Issue: #5385 * docs(lint): document the color grading codes and correct four entries Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> --------- Co-authored-by: James <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
1 parent 2973b3c commit c3816a1

3 files changed

Lines changed: 881 additions & 1 deletion

File tree

‎docs/docs.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,8 @@
10091009
"reference/html-schema",
10101010
"reference/color-grading",
10111011
"reference/audio-effects",
1012-
"reference/speed-ramps"
1012+
"reference/speed-ramps",
1013+
"reference/lint-rules"
10131014
]
10141015
},
10151016
{

‎docs/packages/lint.mdx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ The browser entry exposes `lintHyperframeHtml`, `lintMediaUrls`, and `shouldBloc
100100

101101
## What the Linter Catches
102102

103+
Every finding code — its severity, what it catches, and how to fix it — is documented on the [Lint rules](/reference/lint-rules) reference page.
104+
103105
Detected issues include:
104106

105107
- Missing timeline registration (`window.__timelines`)

0 commit comments

Comments
 (0)