Skip to main content

name-length

Allows restricting length of Feature/Scenario/Step names. The default is 70 characters for each of these

Configuration

NameTypeDescriptionDefault
featurenumberDefines de maximum line length for Feature level.70
rulenumberDefines de maximum line length for Rule level.70
StepnumberDefines de maximum line length for Step level.70
scenarionumberDefines de maximum line length for Scenario level.70

Examples

Example

Configure length for Feature, Scenario and Step

{
"name-length": [
"error",
{
"Feature": 30,
"Scenario": 50,
"Step": 100
}
]
}