fix(linter): malformed snippets in eslint/for-direction docs (#6060)

This commit is contained in:
DonIsaac 2024-09-25 21:47:38 +00:00
parent a4fdf1bc49
commit 3da3845f24

View file

@ -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