Skip to content

Commit

Permalink
Update crates/oxc_linter/src/rules/eslint/no_return_assign.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Cameron <[email protected]>
  • Loading branch information
radu2147 and camc314 authored Sep 27, 2024
1 parent 29a265b commit 2debcf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/oxc_linter/src/rules/eslint/no_return_assign.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ declare_oxc_lint!(
/// function x() { var result = a = b; return result; }
/// ```
NoReturnAssign,
style, // See <https://oxc.rs/docs/contribute/linter.html#rule-category> for details
suggestion // Options are 'fix', 'fix_dangerous', 'suggestion', and 'conditional_fix_suggestion'
style,
suggestion
);

fn is_sentinel_node(ast_kind: AstKind) -> bool {
Expand Down

0 comments on commit 2debcf1

Please sign in to comment.