diff --git a/crates/oxc_linter/src/rules/typescript/consistent_type_exports.rs b/crates/oxc_linter/src/rules/typescript/consistent_type_exports.rs index 643c50390..560cb073c 100644 --- a/crates/oxc_linter/src/rules/typescript/consistent_type_exports.rs +++ b/crates/oxc_linter/src/rules/typescript/consistent_type_exports.rs @@ -13,7 +13,7 @@ use oxc_span::Span; use crate::{context::LintContext, rule::Rule}; #[derive(Debug, Error, Diagnostic)] -#[error("typescript-eslint(consistent-type-export): Consistent type exports")] +#[error("typescript-eslint(consistent-type-exports): Consistent type exports")] #[diagnostic(severity(warning), help("Consistent type export"))] struct ConsistentTypeExportDiagnostic(#[label] pub Span); diff --git a/crates/oxc_linter/src/snapshots/consistent_type_exports.snap b/crates/oxc_linter/src/snapshots/consistent_type_exports.snap index ab9d5b05b..a32c0f704 100644 --- a/crates/oxc_linter/src/snapshots/consistent_type_exports.snap +++ b/crates/oxc_linter/src/snapshots/consistent_type_exports.snap @@ -2,14 +2,14 @@ source: crates/oxc_linter/src/tester.rs expression: consistent_type_exports --- - ⚠ typescript-eslint(consistent-type-export): Consistent type exports + ⚠ typescript-eslint(consistent-type-exports): Consistent type exports ╭─[consistent_type_exports.tsx:1:1] 1 │ type foo = number; export {foo} · ─── ╰──── help: Consistent type export - ⚠ typescript-eslint(consistent-type-export): Consistent type exports + ⚠ typescript-eslint(consistent-type-exports): Consistent type exports ╭─[consistent_type_exports.tsx:4:1] 4 │ } 5 │ export {TypeNS} @@ -18,7 +18,7 @@ expression: consistent_type_exports ╰──── help: Consistent type export - ⚠ typescript-eslint(consistent-type-export): Consistent type exports + ⚠ typescript-eslint(consistent-type-exports): Consistent type exports ╭─[consistent_type_exports.tsx:7:1] 7 │ 8 │ export { Alias, IFace, TypeNS }; @@ -26,7 +26,7 @@ expression: consistent_type_exports ╰──── help: Consistent type export - ⚠ typescript-eslint(consistent-type-export): Consistent type exports + ⚠ typescript-eslint(consistent-type-exports): Consistent type exports ╭─[consistent_type_exports.tsx:7:1] 7 │ 8 │ export { Alias, IFace, TypeNS };