logical-keyword-order
Keep Given, When, and Then semantic stages in order.
| Category | Recommended | Safe autofix | Default options |
|---|---|---|---|
| structure | no | no | none |
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