mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 12:19:15 +00:00
fix(linter): malformed snippets in eslint/for-direction docs (#6060)
This commit is contained in:
parent
a4fdf1bc49
commit
3da3845f24
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue