Skip to content

Releases: un-ts/eslint-plugin-import-x

v4.4.3

20 Nov 14:27
8c1c14d
Compare
Choose a tag to compare

Patch Changes

  • #187 a428f82 Thanks @SukkaW! - Attach ecmaVersion and sourceType to parserOptions during parse

v4.4.2

12 Nov 01:29
26cdedf
Compare
Choose a tag to compare

Patch Changes

  • #181 cc4ee65 Thanks @SukkaW! - Fix #144, read proper sourceType for both eslint flat config and legacy eslintrc config.

v4.4.0

30 Oct 13:16
3a45170
Compare
Choose a tag to compare

Minor Changes

Patch Changes

  • #171 9715220 Thanks @SukkaW! - Perf: avoid regexp during parser choosing

  • #171 9715220 Thanks @SukkaW! - Add extra guard for rule no-named-as-default. A few guards are borrowed from import-js#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 for no-named-export and no-defualt-export rule specifically with non-module sourceType

  • #171 9715220 Thanks @SukkaW! - Fix export when there is only one TSDeclareFunction (import-js#3065)

  • #171 9715220 Thanks @SukkaW! - Prevent ExportMap's cache is being tainted by incompatible parser (e.g. old babel-eslint). The cache is now skipped w/ incompatible parsers, which might introduce performance impacts only for those who are using incompatible parsers. (import-js#3062)

  • #171 9715220 Thanks @SukkaW! - Docs: fix a few typos here and there

  • #168 5de039c Thanks @hyoban! - Fixes #167, the no-duplicates rule now allows co-existing inline type imports and namespace imports.

  • #171 9715220 Thanks @SukkaW! - Properly fix espree parser w/ ESLint Flat Config

v4.3.1

29 Sep 17:11
0bac033
Compare
Choose a tag to compare

Patch Changes

  • #162 38d0081 Thanks @AaronMoat! - Fix issue where no-duplicates rule with prefer-inline incorrectly marks default type and named type imports as duplicates

v4.3.0

22 Sep 12:27
b43350c
Compare
Choose a tag to compare

Minor Changes

v4.2.1

04 Sep 17:22
967e32f
Compare
Choose a tag to compare

Patch Changes

v4.2.0

04 Sep 12:15
978ae88
Compare
Choose a tag to compare

Minor Changes

  • #142 f12447e Thanks @Zamiell! - Add new option "whitelist" for rule "no-extraneous-dependencies"

Patch Changes

v4.1.1

29 Aug 11:59
709f86f
Compare
Choose a tag to compare

Patch Changes

  • #133 757ffa9 Thanks @SukkaW! - Fix #123 where the rule no-named-as-default would have confuse TypeScript namespace exports with actual exports.

v4.1.0

27 Aug 12:50
ceb8e65
Compare
Choose a tag to compare

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! - Added no-rename-default that forbid importing a default export by a different name. Originally created by @whitneyit, ported by @SukkaW

v4.0.0

26 Aug 21:28
f37dc29
Compare
Choose a tag to compare

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.