From 3da3845f24a888ff94d1e50c51e1165911bb57b3 Mon Sep 17 00:00:00 2001 From: DonIsaac <22823424+DonIsaac@users.noreply.github.com> Date: Wed, 25 Sep 2024 21:47:38 +0000 Subject: [PATCH] fix(linter): malformed snippets in `eslint/for-direction` docs (#6060) --- crates/oxc_linter/src/rules/eslint/for_direction.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/oxc_linter/src/rules/eslint/for_direction.rs b/crates/oxc_linter/src/rules/eslint/for_direction.rs index 62a3f3891e7eb..c95d5223d878e 100644 --- a/crates/oxc_linter/src/rules/eslint/for_direction.rs +++ b/crates/oxc_linter/src/rules/eslint/for_direction.rs @@ -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