diff --git a/crates/oxc_linter/src/rules/eslint/yoda.rs b/crates/oxc_linter/src/rules/eslint/yoda.rs index 2f5d5580d6209a..cac2bf819d052a 100644 --- a/crates/oxc_linter/src/rules/eslint/yoda.rs +++ b/crates/oxc_linter/src/rules/eslint/yoda.rs @@ -31,7 +31,7 @@ declare_oxc_lint!( /// ## What it does /// /// Require or disallow "Yoda" conditions. - /// This rule aims to enforce consistent style of conditions which compare a variable to a literal value. The literal value must always come first in the comparison. + /// This rule aims to enforce consistent style of conditions which compare a variable to a literal value. /// /// ## Why is this bad? ///