8000 Chore: enable exceptRange option in the yoda rule (#12857) · eslint/eslint@c42e548 · GitHub
[go: up one dir, main page]

Skip to content

Commit c42e548

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)
0