Skip to content

Commit 65bd558

Browse files
committed
refactor(linter/plugins): consistent imports (#16239)
Pure refactor nit. Import `js_plugins` module from `crate`, instead of `super`, for consistency with other usages.
1 parent bb6e357 commit 65bd558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/oxlint/src/run.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ async fn lint_impl(
104104

105105
// JS plugins are only supported on 64-bit little-endian platforms at present
106106
#[cfg(all(target_pointer_width = "64", target_endian = "little"))]
107-
let external_linter = Some(super::js_plugins::create_external_linter(load_plugin, lint_file));
107+
let external_linter = Some(crate::js_plugins::create_external_linter(load_plugin, lint_file));
108108
#[cfg(not(all(target_pointer_width = "64", target_endian = "little")))]
109109
let external_linter = {
110110
let (_, _) = (load_plugin, lint_file);

0 commit comments

Comments
 (0)