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: every rule page's "Enable only this rule" example disables all rules #472
Disable patterns are checked before enable patterns and any match disables. See isRuleEnabled in packages/rules/src/filter.ts and createRuleConfig in apps/cli/src/infra/context.ts. With disable = ["*"] every rule is disabled, including the one the example means to keep, so a reader who copies it gets an audit that runs nothing.
The working form is enable = ["a11y/color-contrast"] with no disable, or --rule-include a11y/color-contrast on the command line.
Acceptance Criteria
No page under docs/rules/ shows disable = ["*"] next to an enable list meant to run a single rule
The replacement example, run with squirrel audit <url> and that config, executes exactly the one rule (checked once against a local fixture)
Activity