Skip to content

Commit

Permalink
refactor(linter): split unicorn/prefer-spread and eslint/prefer-sprea…
Browse files Browse the repository at this point in the history
…d into own rules
  • Loading branch information
Sysix committed Jan 7, 2025
1 parent 926bb1f commit 480a091
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions crates/oxc_linter/src/rules/eslint/prefer_spread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ impl Rule for PreferSpread {
return;
};

println!("hello from eslint world");

check_eslint_prefer_spread(call_expr, ctx);
}
}
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_linter/src/rules/unicorn/prefer_spread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ impl Rule for PreferSpread {
return;
};

println!("{call_expr:?}");
println!("hello from unicorn world");

check_unicorn_prefer_spread(call_expr, ctx);
}
Expand Down

0 comments on commit 480a091

Please sign in to comment.