name-length
Limit Feature and Scenario name length, or Feature, Rule, Scenario, and Step lengths separately.
| Category | Recommended | Safe autofix | Default options |
|---|---|---|---|
| naming | no | no | {"max":80} |
Limits Feature and Scenario names. Per-node limits { Feature, Rule, Scenario, Step } also check Rule names and step text; each missing key defaults to 70.
Configuration
json
{ "rules": { "name-length": ["error", {"max":80}] } }Triggered by
text
Scenario: A name longer than the configured maximum