mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 12:19:15 +00:00
fix(linter): s/consistent-type-export/consistent-type-exports (#2065)
This commit is contained in:
parent
7a6261403d
commit
3faa2aa2a8
2 changed files with 5 additions and 5 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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 };
|
||||
|
|
|
|||
Loading…
Reference in a new issue