What version of Oxlint are you using?
0.15.0
What command did you run?
--
What does your .oxlint.json config file look like?
What happened?
Because this is originally only a eslint rule, it does not support the option of the alias rule @typescript-eslint/no-restricted-imports.
See the implementation here:
|
struct RestrictedPath { |
|
name: CompactStr, |
|
#[serde(rename = "importNames")] |
|
import_names: Option<Box<[CompactStr]>>, |
|
message: Option<CompactStr>, |
|
} |
I expect to use allowTypeImports option
What version of Oxlint are you using?
0.15.0
What command did you run?
--
What does your
.oxlint.jsonconfig file look like?What happened?
Because this is originally only a eslint rule, it does not support the option of the alias rule @typescript-eslint/no-restricted-imports.
See the implementation here:
oxc/crates/oxc_linter/src/rules/eslint/no_restricted_imports.rs
Lines 35 to 40 in 74bf141
I expect to use
allowTypeImportsoption