max-tags-lines
Allows the user to specify the max number of lines for tags in each level. Each level type can be configured separately.
Configuration
Name | Type | Description | Default |
---|---|---|---|
feature | number | Defines de maximum line length for tags at Feature level. | 1 |
rule | number | Defines de maximum line length for tags at Rule level. | 2 |
scenario | number | Defines de maximum line length for tags at Scenario level. | 5 |
example | number | Defines de maximum line length for tags at Example level. | 5 |
Examples
Example
Features can have only 1 line, scenarios and examples can have 5 lines of tags as maximum.
{
"max-tags-lines": [
"error",
{
"feature": 1,
"scenario": 5,
"example": 5
}
]
}