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
Browse files Browse the repository at this point in the history
  • Loading branch information
Conaclos committed Jun 26, 2023
1 parent 7f8c38b commit 165eae9
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 165eae9

Please sign in to comment.