Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tbashiyy committed Dec 2, 2024
1 parent e07f9fd commit abecc1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/oxc_linter/src/rules/eslint/yoda.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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?
///
Expand Down

0 comments on commit abecc1a

Please sign in to comment.