Releases: un-ts/eslint-plugin-import-x
v4.4.0
Minor Changes
- #169
9c58269
Thanks @teidesu! - Add new rule optioncheckTypedImports
forextensions
, backports import-js/eslint-plugin-import#2817
Patch Changes
-
#171
9715220
Thanks @SukkaW! - Perf: avoid regexp during parser choosing -
#171
9715220
Thanks @SukkaW! - Add extra guard for ruleno-named-as-default
. A few guards are borrowed from import-js/eslint-plugin-import#3032, but we don't sync the rest of changes from upstream since we have already implemented a way more performant check. -
#171
9715220
Thanks @SukkaW! - More test cases forno-named-export
andno-defualt-export
rule specifically with non-modulesourceType
-
#171
9715220
Thanks @SukkaW! - Fixexport
when there is only oneTSDeclareFunction
(import-js/eslint-plugin-import#3065) -
#171
9715220
Thanks @SukkaW! - PreventExportMap
's cache is being tainted by incompatible parser (e.g. oldbabel-eslint
). The cache is now skipped w/ incompatible parsers, which might introduce performance impacts only for those who are using incompatible parsers. (import-js/eslint-plugin-import#3062) -
#171
9715220
Thanks @SukkaW! - Docs: fix a few typos here and there -
#168
5de039c
Thanks @hyoban! - Fixes #167, theno-duplicates
rule now allows co-existing inline type imports and namespace imports. -
#171
9715220
Thanks @SukkaW! - Properly fix espree parser w/ ESLint Flat Config
New Contributors
Full Changelog: v4.3.1...v4.4.0
v4.3.1
Patch Changes
- #162
38d0081
Thanks @AaronMoat! - Fix issue whereno-duplicates
rule withprefer-inline
incorrectly marks default type and named type imports as duplicates
New Contributors
- @AaronMoat made their first contribution in #162
Full Changelog: v4.3.0...v4.3.1
v4.3.0
Minor Changes
- #159
4da5388
Thanks @GoodbyeNJN! - feat: add support for using resolver object directly in settings
New Contributors
- @jjoselv made their first contribution in #154
- @GoodbyeNJN made their first contribution in #159
Full Changelog: v4.2.1...v4.3.0
v4.2.1
Patch Changes
-
#148
d228129
Thanks @SukkaW! - Fixnewline-after-import
'sconsiderComments
options when lintingrequire
, backports import-js/eslint-plugin-import#2952 -
#147
eca73ed
Thanks @nchevsky! - Fix regression in ruleno-unused-modules
which would incorrectly initialize optionsrc
to[]
instead of[process.cwd()]
, breaking file discovery. -
#148
d228129
Thanks @SukkaW! - Fixno-duplicates
for TypeScript, backports import-js/eslint-plugin-import#3033
New Contributors
Full Changelog: v4.2.0...v4.2.1
v4.2.0
Minor Changes
Patch Changes
- #146
e5e4580
Thanks @SukkaW! - Fix nuxt/eslint#494 by avoid importing from@typescript-eslint/typescript-estree
.
New Contributors
Full Changelog: v4.1.1...v4.2.0
v4.1.1
v4.1.0
Minor Changes
-
#122
cd52e86
Thanks @michaelfaith! - Add ESLint flat configuration presets. You can access them with:import eslintPluginImportX from "eslint-plugin-import-x"; eslintPluginImportX.flatConfigs.recommended; eslintPluginImportX.flatConfigs.react; eslintPluginImportX.flatConfigs.typescript; eslintPluginImportX.flatConfigs.electron;
-
#132
9948c78
Thanks @SukkaW! - Addedno-rename-default
that forbid importing a default export by a different name. Originally created by @whitneyit, ported by @SukkaW
New Contributors
- @michaelfaith made their first contribution in #122
Full Changelog: v4.0.0...v4.1.0
v4.0.0
Major Changes
- #112
4ba14da
Thanks @SukkaW! - Use typescript-eslint v8. The minimum supported ESLint version is now >= 8.57.0 and the minimum required Node.js version is now 18.18.0.
New Contributors
- @merrywhether made their first contribution in #127
Full Changelog: v3.1.0...v4.0.0
v3.1.0
Minor Changes
- #116
38aa4cb
Thanks @silverwind! - AddignoreUnusedTypeExports
option tono-unused-modules
Patch Changes
-
#118
0307ff2
Thanks @silverwind! - Reverts #111. The introduction of SCC causes extra overhead that overcomes the early return it introduced.A new
no-cycle-next
rule is being implemented using the graph. It won't be backward compatible with the current ruleno-cycle
. The currentno-cycle
rule will becomeno-cycle-legacy
in the next major version.
New Contributors
- @silverwind made their first contribution in #116
Full Changelog: v3.0.1...v3.1.0
v3.0.1
Patch Changes
-
#109
fe3121a
Thanks @SukkaW! - Makeeslint-plugin-import-x
overall faster by refactoring theExportMap
util -
#111
5cce946
Thanks @SukkaW! - Drastically improveno-cycle
's performance by skipping unnecessary BFSes using Tarjan's SCC.
Full Changelog: v3.0.0...v3.0.1