You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sysix
changed the title
linter: typescript/no-restricted-imports missing option support for allowTypeImports
linter: no-restricted-imports missing option support for allowTypeImports, allowImportNames, group, ..
Dec 14, 2024
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:
oxc/crates/oxc_linter/src/rules/eslint/no_restricted_imports.rs
Lines 35 to 40 in 74bf141
I expect to use
allowTypeImports
optionThe text was updated successfully, but these errors were encountered: