Skip to content

no-restricted-patterns ​

Disallow case-insensitive regular expressions in Feature, Background, and Scenario names, descriptions, and steps.

CategoryRecommendedSafe autofixDefault options
namingnononone

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

Released under the MIT License.