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
{{ message }}
Repository navigation
docs: configuration examples set rule_options under ids that match no rule (performance/*) #478
Found while fixing #472. docs/configuration/examples.mdx configures rule options under ids that match no rule, so a user copying them changes nothing:
[rule_options."performance/ttfb"] with warn_threshold / error_threshold: the rule is perf/ttfb, and its options are good_threshold / poor_threshold (packages/rules/src/performance/ttfb.ts).
[rule_options."performance/dom-size"] and [rule_options."performance/cls-hints"]: the category code is perf, and there is no performance alias in packages/utils/src/rule-pattern.ts.
docs/quickstart.mdx also shows --rule-include ax,performance; check whether performance is an accepted category token for that flag.
Acceptance Criteria
Every rule id in docs/configuration/examples.mdx ([rules] lists and [rule_options."..."] tables) names a rule or category that exists
Every option key in those tables exists in that rule's optionsSchema
The --rule-include example in docs/quickstart.mdx runs without an unknown-category error
Activity
docs(config): point example rule options at real rule ids and options #…