Skip to content

Commit

Permalink
fix(linter): malformed snippets in eslint/for-direction docs (#6060)
Browse files Browse the repository at this point in the history
  • Loading branch information
DonIsaac committed Sep 25, 2024
1 parent a4fdf1b commit 3da3845
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/oxc_linter/src/rules/eslint/for_direction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ declare_oxc_lint!(
///
/// This rule forbids `for` loops where the counter variable changes in such a
/// way that the stop condition will never be met. For example, if the
/// counter variable is increasing (i.e. `i++``) and the stop condition tests
/// that the counter is greater than zero (`i >= 0``) then the loop will never
/// counter variable is increasing (i.e. `i++`) and the stop condition tests
/// that the counter is greater than zero (`i >= 0`) then the loop will never
/// exit.
///
/// ### Example
Expand Down

0 comments on commit 3da3845

Please sign in to comment.