mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
refactor(linter): rename *_partial_loader files (#1916)
This commit is contained in:
parent
bb6128bfa8
commit
450791ddc2
4 changed files with 4 additions and 7 deletions
|
|
@ -15,10 +15,7 @@ use miette::NamedSource;
|
|||
use oxc_allocator::Allocator;
|
||||
use oxc_diagnostics::{miette, Error, Severity};
|
||||
use oxc_linter::{
|
||||
partial_loader::{
|
||||
vue_partial_loader::VuePartialLoader, JavaScriptSource, PartialLoader,
|
||||
LINT_PARTIAL_LOADER_EXT,
|
||||
},
|
||||
partial_loader::{JavaScriptSource, PartialLoader, LINT_PARTIAL_LOADER_EXT},
|
||||
LintContext, LintSettings, Linter,
|
||||
};
|
||||
use oxc_linter_plugin::{make_relative_path_parts, LinterPlugin};
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
pub mod astro_partial_loader;
|
||||
pub mod vue_partial_loader;
|
||||
mod astro;
|
||||
mod vue;
|
||||
|
||||
use oxc_span::SourceType;
|
||||
|
||||
use self::{astro_partial_loader::AstroPartialLoader, vue_partial_loader::VuePartialLoader};
|
||||
pub use self::{astro::AstroPartialLoader, vue::VuePartialLoader};
|
||||
|
||||
pub const LINT_PARTIAL_LOADER_EXT: &[&str] = &["vue", "astro"];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue