Skip to content

Commit c42e548

Browse files
authored
Chore: enable exceptRange option in the yoda rule (#12857)
1 parent 6cfbd03 commit c42e548

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/eslint-config-eslint/default.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,4 +206,4 @@ rules:
206206
unicode-bom: "error"
207207
wrap-iife: "error"
208208
yield-star-spacing: "error"
209-
yoda: ["error", "never"]
209+
yoda: ["error", "never", { exceptRange: true }]

0 commit comments

Comments
 (0)