Skip to content

name-length ​

Limit Feature and Scenario name length, or Feature, Rule, Scenario, and Step lengths separately.

CategoryRecommendedSafe autofixDefault options
namingnono{"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

Released under the MIT License.