This documentation is available as Markdown. For the complete index, see llms.txt. Skip to content

Linter rules

For the complete documentation index, see llms.txt

The linter keeps scenarios robust — stable selectors, no silent waits. Override any rule under linter.rules in your config ("off" | "warn" | "error").

RuleDefaultPurpose
lint:deep-csswarnReject deep / brittle CSS selectors. Prefer role/label/testid.
lint:xpathwarnReject XPath selectors.
lint:obfuscated-classwarnReject hashed class names (Tailwind JIT, CSS Modules).
lint:pause-explicitwarnDiscourage pause(ms) without a // reason: comment.
lint:disambig-by-indexoffFlag index-only refinement (.nth) as fragile (info).
lint:evaluate-discouragedwarnDiscourage bare evaluate() — prefer typed helpers.
lint:scenario-in-rooterrorScenarios must live in a feature subfolder, not the e2e root.
lint:mustache-in-dslerrorNo {{VAR}} string literals — reference bare identifiers.
validator:unknown-functionerrorUnknown DSL function (typo, unsupported call).
validator:dslerrorShape / argument / unsupported-syntax violations.