Skip to content

logical-keyword-order ​

Keep Given, When, and Then semantic stages in order.

CategoryRecommendedSafe autofixDefault options
structurenononone

Keeps semantic Given, When, and Then stages in order.

Configuration ​

json
{ "rules": { "logical-keyword-order": "error" } }

Triggered by ​

text
Then the user is signed in
When the user opens the account page

Released under the MIT License.