Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
docs: fix noCommaOperator example (#4620)
Browse files Browse the repository at this point in the history
  • Loading branch information
Conaclos authored Jun 26, 2023
1 parent d639f43 commit 6911d55
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ declare_rule! {
/// ### Invalid
///
/// ```js,expect_diagnostic
/// const foo = doSomething(), 0;
/// const foo = (doSomething(), 0);
/// ```
///
/// ```js,expect_diagnostic
Expand Down
16 changes: 6 additions & 10 deletions website/src/pages/lint/rules/noCommaOperator.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6911d55

Please sign in to comment.