diff --git a/.changeset/fast-carpets-teach.md b/.changeset/fast-carpets-teach.md deleted file mode 100644 index b7868cd36..000000000 --- a/.changeset/fast-carpets-teach.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"eslint-plugin-import-x": patch ---- - -Perf: avoid regexp during parser choosing diff --git a/.changeset/hot-jokes-grab.md b/.changeset/hot-jokes-grab.md deleted file mode 100644 index 6e92068bb..000000000 --- a/.changeset/hot-jokes-grab.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"eslint-plugin-import-x": patch ---- - -Add extra guard for rule `no-named-as-default`. A few guards are borrowed from https://github.com/import-js/eslint-plugin-import/pull/3032, but we don't sync the rest of changes from upstream since we have already implemented a way more performant check. diff --git a/.changeset/old-years-rest.md b/.changeset/old-years-rest.md deleted file mode 100644 index 9eb513731..000000000 --- a/.changeset/old-years-rest.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"eslint-plugin-import-x": patch ---- - -More test cases for `no-named-export` and `no-defualt-export` rule specifically with non-module `sourceType` diff --git a/.changeset/orange-dryers-mix.md b/.changeset/orange-dryers-mix.md deleted file mode 100644 index e1c7fc1d2..000000000 --- a/.changeset/orange-dryers-mix.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"eslint-plugin-import-x": patch ---- - -Fix `export` when there is only one `TSDeclareFunction` (https://github.com/import-js/eslint-plugin-import/pull/3065) diff --git a/.changeset/shaggy-mayflies-applaud.md b/.changeset/shaggy-mayflies-applaud.md deleted file mode 100644 index f263fd3a2..000000000 --- a/.changeset/shaggy-mayflies-applaud.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"eslint-plugin-import-x": patch ---- - -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. (https://github.com/import-js/eslint-plugin-import/pull/3062) diff --git a/.changeset/spicy-mangos-pull.md b/.changeset/spicy-mangos-pull.md deleted file mode 100644 index 397ace3a5..000000000 --- a/.changeset/spicy-mangos-pull.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"eslint-plugin-import-x": patch ---- - -Docs: fix a few typos here and there diff --git a/.changeset/tame-ants-thank.md b/.changeset/tame-ants-thank.md deleted file mode 100644 index 302c49556..000000000 --- a/.changeset/tame-ants-thank.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"eslint-plugin-import-x": patch ---- - -Fixes https://github.com/un-ts/eslint-plugin-import-x/issues/167, the `no-duplicates` rule now allows co-existing inline type imports and namespace imports. diff --git a/.changeset/tidy-crews-sit.md b/.changeset/tidy-crews-sit.md deleted file mode 100644 index a32fbbf0f..000000000 --- a/.changeset/tidy-crews-sit.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"eslint-plugin-import-x": minor ---- - -Add new rule option `checkTypedImports` for `extensions`, backports https://github.com/import-js/eslint-plugin-import/pull/2817 diff --git a/.changeset/tough-elephants-divide.md b/.changeset/tough-elephants-divide.md deleted file mode 100644 index 8eb27cc3c..000000000 --- a/.changeset/tough-elephants-divide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"eslint-plugin-import-x": patch ---- - -Properly fix espree parser w/ ESLint Flat Config diff --git a/CHANGELOG.md b/CHANGELOG.md index f95693329..4a1d6c9de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,29 @@ # eslint-plugin-import-x +## 4.4.0 + +### Minor Changes + +- [#169](https://github.com/un-ts/eslint-plugin-import-x/pull/169) [`9c58269`](https://github.com/un-ts/eslint-plugin-import-x/commit/9c582692a1f4c5ed9cb38a6fc7405dd17eb98bdb) Thanks [@teidesu](https://github.com/teidesu)! - Add new rule option `checkTypedImports` for `extensions`, backports https://github.com/import-js/eslint-plugin-import/pull/2817 + +### Patch Changes + +- [#171](https://github.com/un-ts/eslint-plugin-import-x/pull/171) [`9715220`](https://github.com/un-ts/eslint-plugin-import-x/commit/9715220615e9f10d372ac7ad2d2c83b32b44a9eb) Thanks [@SukkaW](https://github.com/SukkaW)! - Perf: avoid regexp during parser choosing + +- [#171](https://github.com/un-ts/eslint-plugin-import-x/pull/171) [`9715220`](https://github.com/un-ts/eslint-plugin-import-x/commit/9715220615e9f10d372ac7ad2d2c83b32b44a9eb) Thanks [@SukkaW](https://github.com/SukkaW)! - Add extra guard for rule `no-named-as-default`. A few guards are borrowed from https://github.com/import-js/eslint-plugin-import/pull/3032, but we don't sync the rest of changes from upstream since we have already implemented a way more performant check. + +- [#171](https://github.com/un-ts/eslint-plugin-import-x/pull/171) [`9715220`](https://github.com/un-ts/eslint-plugin-import-x/commit/9715220615e9f10d372ac7ad2d2c83b32b44a9eb) Thanks [@SukkaW](https://github.com/SukkaW)! - More test cases for `no-named-export` and `no-defualt-export` rule specifically with non-module `sourceType` + +- [#171](https://github.com/un-ts/eslint-plugin-import-x/pull/171) [`9715220`](https://github.com/un-ts/eslint-plugin-import-x/commit/9715220615e9f10d372ac7ad2d2c83b32b44a9eb) Thanks [@SukkaW](https://github.com/SukkaW)! - Fix `export` when there is only one `TSDeclareFunction` (https://github.com/import-js/eslint-plugin-import/pull/3065) + +- [#171](https://github.com/un-ts/eslint-plugin-import-x/pull/171) [`9715220`](https://github.com/un-ts/eslint-plugin-import-x/commit/9715220615e9f10d372ac7ad2d2c83b32b44a9eb) Thanks [@SukkaW](https://github.com/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. (https://github.com/import-js/eslint-plugin-import/pull/3062) + +- [#171](https://github.com/un-ts/eslint-plugin-import-x/pull/171) [`9715220`](https://github.com/un-ts/eslint-plugin-import-x/commit/9715220615e9f10d372ac7ad2d2c83b32b44a9eb) Thanks [@SukkaW](https://github.com/SukkaW)! - Docs: fix a few typos here and there + +- [#168](https://github.com/un-ts/eslint-plugin-import-x/pull/168) [`5de039c`](https://github.com/un-ts/eslint-plugin-import-x/commit/5de039c5ef7415c529445abcfbcca0494487a7a8) Thanks [@hyoban](https://github.com/hyoban)! - Fixes https://github.com/un-ts/eslint-plugin-import-x/issues/167, the `no-duplicates` rule now allows co-existing inline type imports and namespace imports. + +- [#171](https://github.com/un-ts/eslint-plugin-import-x/pull/171) [`9715220`](https://github.com/un-ts/eslint-plugin-import-x/commit/9715220615e9f10d372ac7ad2d2c83b32b44a9eb) Thanks [@SukkaW](https://github.com/SukkaW)! - Properly fix espree parser w/ ESLint Flat Config + ## 4.3.1 ### Patch Changes diff --git a/package.json b/package.json index 52522479c..f76c3d471 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-import-x", - "version": "4.3.1", + "version": "4.4.0", "description": "Import with sanity.", "repository": "git+https://github.com/un-ts/eslint-plugin-import-x", "author": "JounQin (https://www.1stG.me)",