8000 Docs: fix `no-sequences` example (#14643) · eslint/eslint@2e43dac · GitHub
[go: up one dir, main page]

Skip to content

Commit 2e43dac

Browse files
authored
Docs: fix no-sequences example (#14643)
1 parent 958ff4e commit 2e43dac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rules/no-sequences.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Examples of **incorrect** code for arrow functions:
7373
/*eslint no-sequences: "error"*/
7474
const foo = (val) => (console.log('bar'), val);
7575

76-
const foo = () => ((bar = 123), 10));
76+
const foo = () => ((bar = 123), 10);
7777

7878
const foo = () => { return (bar = 123), 10 }
7979
```

0 commit comments

Comments
 (0)
0