no-restricted-patterns
Disallow case-insensitive regular expressions in Feature, Background, and Scenario names, descriptions, and steps.
| Category | Recommended | Safe autofix | Default options |
|---|---|---|---|
| naming | no | no | none |
Finds case-insensitive regular expressions in names, descriptions, and steps, keyed by Global, Feature, Rule, Background, Scenario, and ScenarioOutline.
Configuration
json
{ "rules": { "no-restricted-patterns": "error" } }Triggered by
text
Scenario: TODO write this