feature-size
Limit the number of Scenarios in a Feature, including Scenarios under Rules, optionally counting each Examples row.
| Category | Recommended | Safe autofix | Default options |
|---|---|---|---|
| structure | no | no | {"maxScenarios":20} |
Limits Scenarios in a Feature, including Scenarios under Rules. countOutlineExamples: true counts each Examples row of an outline.
Configuration
json
{ "rules": { "feature-size": ["error", {"maxScenarios":20}] } }Triggered by
text
Feature: Large workflow with more than the configured number of scenarios