name-length
Allows restricting length of Feature/Scenario/Step names. The default is 70 characters for each of these
Configuration
Name | Type | Description | Default |
---|---|---|---|
feature | number | Defines de maximum line length for Feature level. | 70 |
rule | number | Defines de maximum line length for Rule level. | 70 |
Step | number | Defines de maximum line length for Step level. | 70 |
scenario | number | Defines 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
}
]
}