Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(linter): add the eslint/no_duplicate_imports rule #7309

Merged
merged 8 commits into from
Nov 25, 2024
2 changes: 2 additions & 0 deletions crates/oxc_linter/src/rules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ mod eslint {
pub mod no_dupe_else_if;
pub mod no_dupe_keys;
pub mod no_duplicate_case;
pub mod no_duplicate_imports;
pub mod no_else_return;
pub mod no_empty;
pub mod no_empty_character_class;
Expand Down Expand Up @@ -531,6 +532,7 @@ oxc_macros::declare_all_lint_rules! {
eslint::max_lines,
eslint::max_params,
eslint::no_object_constructor,
eslint::no_duplicate_imports,
eslint::no_alert,
eslint::no_array_constructor,
eslint::no_async_promise_executor,
Expand Down
Loading