Skip to main content

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

NameTypeDescriptionDefault
featurenumberDefines de maximum line length for tags at Feature level.1
rulenumberDefines de maximum line length for tags at Rule level.2
scenarionumberDefines de maximum line length for tags at Scenario level.5
examplenumberDefines 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
}
]
}