Skip to content

Commit abecc1a

Browse files
committed
fix docs
1 parent e07f9fd commit abecc1a

File tree

1 file changed

+1
-1
lines changed
  • crates/oxc_linter/src/rules/eslint

1 file changed

+1
-1
lines changed

crates/oxc_linter/src/rules/eslint/yoda.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ declare_oxc_lint!(
3131
/// ## What it does
3232
///
3333
/// Require or disallow "Yoda" conditions.
34-
/// 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.
34+
/// This rule aims to enforce consistent style of conditions which compare a variable to a literal value.
3535
///
3636
/// ## Why is this bad?
3737
///

0 commit comments

Comments
 (0)