Skip to content

fix: include mapper with no files and force non-dynamic projects to use absolute paths#377

Merged
JounQin merged 2 commits into
import-js:masterfrom
carlocorradini:fix_376
Mar 13, 2025
Merged

fix: include mapper with no files and force non-dynamic projects to use absolute paths#377
JounQin merged 2 commits into
import-js:masterfrom
carlocorradini:fix_376

Conversation

@carlocorradini
Copy link
Copy Markdown
Collaborator

Fix #376

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Mar 13, 2025

🦋 Changeset detected

Latest commit: bfc917d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
eslint-import-resolver-typescript Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@codesandbox-ci
Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@JounQin JounQin merged commit a14fdd9 into import-js:master Mar 13, 2025
renovate Bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Mar 14, 2025
| datasource | package                           | from  | to    |
| ---------- | --------------------------------- | ----- | ----- |
| npm        | eslint-import-resolver-typescript | 3.8.0 | 3.8.7 |


## [v3.8.7](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#387)

##### Patch Changes

-   [#377](import-js/eslint-import-resolver-typescript#377) [`a14fdd9`](import-js/eslint-import-resolver-typescript@a14fdd9) Thanks [@carlocorradini](https://github.com/carlocorradini)! - fix: include mapper with no files and force non-dynamic projects to use absolute paths


## [v3.8.6](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#386)

##### Patch Changes

-   [#374](import-js/eslint-import-resolver-typescript#374) [`c9d5ab0`](import-js/eslint-import-resolver-typescript@c9d5ab0) Thanks [@JounQin](https://github.com/JounQin)! - fix: add support for importing with .js extension as tsx importee


## [v3.8.5](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#385)

##### Patch Changes

-   [#372](import-js/eslint-import-resolver-typescript#372) [`366eeaf`](import-js/eslint-import-resolver-typescript@366eeaf) Thanks [@carlocorradini](https://github.com/carlocorradini)! - fix: if file has no corresponding mapper function, apply all of them, starting with the nearest one.


## [v3.8.4](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#384)

##### Patch Changes

-   [#370](import-js/eslint-import-resolver-typescript#370) [`c940785`](import-js/eslint-import-resolver-typescript@c940785) Thanks [@JounQin](https://github.com/JounQin)! - fix: support multiple matching ts paths


## [v3.8.3](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#383)

##### Patch Changes

-   [#360](import-js/eslint-import-resolver-typescript#360) [`8192976`](import-js/eslint-import-resolver-typescript@8192976) Thanks [@carlocorradini](https://github.com/carlocorradini)! - Force tiniglobby to expand dot directories

-   [#360](import-js/eslint-import-resolver-typescript#360) [`8192976`](import-js/eslint-import-resolver-typescript@8192976) Thanks [@carlocorradini](https://github.com/carlocorradini)! - Update tinyglobby to latest version


## [v3.8.2](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#382)

##### Patch Changes

-   [#357](import-js/eslint-import-resolver-typescript#357) [`5fd349e`](import-js/eslint-import-resolver-typescript@5fd349e) Thanks [@carlocorradini](https://github.com/carlocorradini)! - Update the `tinyglobby` to the latest version to solve performance regressions.


## [v3.8.1](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#381)

##### Patch Changes

-   [#352](import-js/eslint-import-resolver-typescript#352) [`0c6303d`](import-js/eslint-import-resolver-typescript@0c6303d) Thanks [@carlocorradini](https://github.com/carlocorradini)! - Set cwd while resolving tsconfig include
renovate Bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Mar 15, 2025
| datasource | package                           | from  | to    |
| ---------- | --------------------------------- | ----- | ----- |
| npm        | eslint-import-resolver-typescript | 3.8.0 | 3.9.0 |


## [v3.9.0](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#390)

##### Minor Changes

-   [#379](import-js/eslint-import-resolver-typescript#379) [`6814443`](import-js/eslint-import-resolver-typescript@6814443) Thanks [@JounQin](https://github.com/JounQin)! - feat: migrate `enhanced-resolve` to `oxc-resolver`


## [v3.8.7](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#387)

##### Patch Changes

-   [#377](import-js/eslint-import-resolver-typescript#377) [`a14fdd9`](import-js/eslint-import-resolver-typescript@a14fdd9) Thanks [@carlocorradini](https://github.com/carlocorradini)! - fix: include mapper with no files and force non-dynamic projects to use absolute paths


## [v3.8.6](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#386)

##### Patch Changes

-   [#374](import-js/eslint-import-resolver-typescript#374) [`c9d5ab0`](import-js/eslint-import-resolver-typescript@c9d5ab0) Thanks [@JounQin](https://github.com/JounQin)! - fix: add support for importing with .js extension as tsx importee


## [v3.8.5](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#385)

##### Patch Changes

-   [#372](import-js/eslint-import-resolver-typescript#372) [`366eeaf`](import-js/eslint-import-resolver-typescript@366eeaf) Thanks [@carlocorradini](https://github.com/carlocorradini)! - fix: if file has no corresponding mapper function, apply all of them, starting with the nearest one.


## [v3.8.4](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#384)

##### Patch Changes

-   [#370](import-js/eslint-import-resolver-typescript#370) [`c940785`](import-js/eslint-import-resolver-typescript@c940785) Thanks [@JounQin](https://github.com/JounQin)! - fix: support multiple matching ts paths


## [v3.8.3](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#383)

##### Patch Changes

-   [#360](import-js/eslint-import-resolver-typescript#360) [`8192976`](import-js/eslint-import-resolver-typescript@8192976) Thanks [@carlocorradini](https://github.com/carlocorradini)! - Force tiniglobby to expand dot directories

-   [#360](import-js/eslint-import-resolver-typescript#360) [`8192976`](import-js/eslint-import-resolver-typescript@8192976) Thanks [@carlocorradini](https://github.com/carlocorradini)! - Update tinyglobby to latest version


## [v3.8.2](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#382)

##### Patch Changes

-   [#357](import-js/eslint-import-resolver-typescript#357) [`5fd349e`](import-js/eslint-import-resolver-typescript@5fd349e) Thanks [@carlocorradini](https://github.com/carlocorradini)! - Update the `tinyglobby` to the latest version to solve performance regressions.


## [v3.8.1](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#381)

##### Patch Changes

-   [#352](import-js/eslint-import-resolver-typescript#352) [`0c6303d`](import-js/eslint-import-resolver-typescript@0c6303d) Thanks [@carlocorradini](https://github.com/carlocorradini)! - Set cwd while resolving tsconfig include
renovate Bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Mar 15, 2025
| datasource | package                           | from  | to    |
| ---------- | --------------------------------- | ----- | ----- |
| npm        | eslint-import-resolver-typescript | 3.8.0 | 3.9.0 |


## [v3.9.0](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#390)

##### Minor Changes

-   [#379](import-js/eslint-import-resolver-typescript#379) [`6814443`](import-js/eslint-import-resolver-typescript@6814443) Thanks [@JounQin](https://github.com/JounQin)! - feat: migrate `enhanced-resolve` to `oxc-resolver`


## [v3.8.7](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#387)

##### Patch Changes

-   [#377](import-js/eslint-import-resolver-typescript#377) [`a14fdd9`](import-js/eslint-import-resolver-typescript@a14fdd9) Thanks [@carlocorradini](https://github.com/carlocorradini)! - fix: include mapper with no files and force non-dynamic projects to use absolute paths


## [v3.8.6](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#386)

##### Patch Changes

-   [#374](import-js/eslint-import-resolver-typescript#374) [`c9d5ab0`](import-js/eslint-import-resolver-typescript@c9d5ab0) Thanks [@JounQin](https://github.com/JounQin)! - fix: add support for importing with .js extension as tsx importee


## [v3.8.5](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#385)

##### Patch Changes

-   [#372](import-js/eslint-import-resolver-typescript#372) [`366eeaf`](import-js/eslint-import-resolver-typescript@366eeaf) Thanks [@carlocorradini](https://github.com/carlocorradini)! - fix: if file has no corresponding mapper function, apply all of them, starting with the nearest one.


## [v3.8.4](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#384)

##### Patch Changes

-   [#370](import-js/eslint-import-resolver-typescript#370) [`c940785`](import-js/eslint-import-resolver-typescript@c940785) Thanks [@JounQin](https://github.com/JounQin)! - fix: support multiple matching ts paths


## [v3.8.3](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#383)

##### Patch Changes

-   [#360](import-js/eslint-import-resolver-typescript#360) [`8192976`](import-js/eslint-import-resolver-typescript@8192976) Thanks [@carlocorradini](https://github.com/carlocorradini)! - Force tiniglobby to expand dot directories

-   [#360](import-js/eslint-import-resolver-typescript#360) [`8192976`](import-js/eslint-import-resolver-typescript@8192976) Thanks [@carlocorradini](https://github.com/carlocorradini)! - Update tinyglobby to latest version


## [v3.8.2](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#382)

##### Patch Changes

-   [#357](import-js/eslint-import-resolver-typescript#357) [`5fd349e`](import-js/eslint-import-resolver-typescript@5fd349e) Thanks [@carlocorradini](https://github.com/carlocorradini)! - Update the `tinyglobby` to the latest version to solve performance regressions.


## [v3.8.1](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#381)

##### Patch Changes

-   [#352](import-js/eslint-import-resolver-typescript#352) [`0c6303d`](import-js/eslint-import-resolver-typescript@0c6303d) Thanks [@carlocorradini](https://github.com/carlocorradini)! - Set cwd while resolving tsconfig include
renovate Bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Mar 16, 2025
| datasource | package                           | from  | to    |
| ---------- | --------------------------------- | ----- | ----- |
| npm        | eslint-import-resolver-typescript | 3.8.0 | 3.9.1 |


## [v3.9.1](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#391)

##### Patch Changes

-   [#382](import-js/eslint-import-resolver-typescript#382) [`4a9176e`](import-js/eslint-import-resolver-typescript@4a9176e) Thanks [@JounQin](https://github.com/JounQin)! - fix: use [`rspack-resolver`](https://github.com/unrs/rspack-resolver) fork for pnp support


## [v3.9.0](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#390)

##### Minor Changes

-   [#379](import-js/eslint-import-resolver-typescript#379) [`6814443`](import-js/eslint-import-resolver-typescript@6814443) Thanks [@JounQin](https://github.com/JounQin)! - feat: migrate `enhanced-resolve` to `oxc-resolver`


## [v3.8.7](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#387)

##### Patch Changes

-   [#377](import-js/eslint-import-resolver-typescript#377) [`a14fdd9`](import-js/eslint-import-resolver-typescript@a14fdd9) Thanks [@carlocorradini](https://github.com/carlocorradini)! - fix: include mapper with no files and force non-dynamic projects to use absolute paths


## [v3.8.6](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#386)

##### Patch Changes

-   [#374](import-js/eslint-import-resolver-typescript#374) [`c9d5ab0`](import-js/eslint-import-resolver-typescript@c9d5ab0) Thanks [@JounQin](https://github.com/JounQin)! - fix: add support for importing with .js extension as tsx importee


## [v3.8.5](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#385)

##### Patch Changes

-   [#372](import-js/eslint-import-resolver-typescript#372) [`366eeaf`](import-js/eslint-import-resolver-typescript@366eeaf) Thanks [@carlocorradini](https://github.com/carlocorradini)! - fix: if file has no corresponding mapper function, apply all of them, starting with the nearest one.


## [v3.8.4](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#384)

##### Patch Changes

-   [#370](import-js/eslint-import-resolver-typescript#370) [`c940785`](import-js/eslint-import-resolver-typescript@c940785) Thanks [@JounQin](https://github.com/JounQin)! - fix: support multiple matching ts paths


## [v3.8.3](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#383)

##### Patch Changes

-   [#360](import-js/eslint-import-resolver-typescript#360) [`8192976`](import-js/eslint-import-resolver-typescript@8192976) Thanks [@carlocorradini](https://github.com/carlocorradini)! - Force tiniglobby to expand dot directories

-   [#360](import-js/eslint-import-resolver-typescript#360) [`8192976`](import-js/eslint-import-resolver-typescript@8192976) Thanks [@carlocorradini](https://github.com/carlocorradini)! - Update tinyglobby to latest version


## [v3.8.2](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#382)

##### Patch Changes

-   [#357](import-js/eslint-import-resolver-typescript#357) [`5fd349e`](import-js/eslint-import-resolver-typescript@5fd349e) Thanks [@carlocorradini](https://github.com/carlocorradini)! - Update the `tinyglobby` to the latest version to solve performance regressions.


## [v3.8.1](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#381)

##### Patch Changes

-   [#352](import-js/eslint-import-resolver-typescript#352) [`0c6303d`](import-js/eslint-import-resolver-typescript@0c6303d) Thanks [@carlocorradini](https://github.com/carlocorradini)! - Set cwd while resolving tsconfig include
renovate Bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Mar 16, 2025
| datasource | package                           | from  | to    |
| ---------- | --------------------------------- | ----- | ----- |
| npm        | eslint-import-resolver-typescript | 3.8.0 | 3.9.1 |


## [v3.9.1](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#391)

##### Patch Changes

-   [#382](import-js/eslint-import-resolver-typescript#382) [`4a9176e`](import-js/eslint-import-resolver-typescript@4a9176e) Thanks [@JounQin](https://github.com/JounQin)! - fix: use [`rspack-resolver`](https://github.com/unrs/rspack-resolver) fork for pnp support


## [v3.9.0](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#390)

##### Minor Changes

-   [#379](import-js/eslint-import-resolver-typescript#379) [`6814443`](import-js/eslint-import-resolver-typescript@6814443) Thanks [@JounQin](https://github.com/JounQin)! - feat: migrate `enhanced-resolve` to `oxc-resolver`


## [v3.8.7](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#387)

##### Patch Changes

-   [#377](import-js/eslint-import-resolver-typescript#377) [`a14fdd9`](import-js/eslint-import-resolver-typescript@a14fdd9) Thanks [@carlocorradini](https://github.com/carlocorradini)! - fix: include mapper with no files and force non-dynamic projects to use absolute paths


## [v3.8.6](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#386)

##### Patch Changes

-   [#374](import-js/eslint-import-resolver-typescript#374) [`c9d5ab0`](import-js/eslint-import-resolver-typescript@c9d5ab0) Thanks [@JounQin](https://github.com/JounQin)! - fix: add support for importing with .js extension as tsx importee


## [v3.8.5](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#385)

##### Patch Changes

-   [#372](import-js/eslint-import-resolver-typescript#372) [`366eeaf`](import-js/eslint-import-resolver-typescript@366eeaf) Thanks [@carlocorradini](https://github.com/carlocorradini)! - fix: if file has no corresponding mapper function, apply all of them, starting with the nearest one.


## [v3.8.4](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#384)

##### Patch Changes

-   [#370](import-js/eslint-import-resolver-typescript#370) [`c940785`](import-js/eslint-import-resolver-typescript@c940785) Thanks [@JounQin](https://github.com/JounQin)! - fix: support multiple matching ts paths


## [v3.8.3](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#383)

##### Patch Changes

-   [#360](import-js/eslint-import-resolver-typescript#360) [`8192976`](import-js/eslint-import-resolver-typescript@8192976) Thanks [@carlocorradini](https://github.com/carlocorradini)! - Force tiniglobby to expand dot directories

-   [#360](import-js/eslint-import-resolver-typescript#360) [`8192976`](import-js/eslint-import-resolver-typescript@8192976) Thanks [@carlocorradini](https://github.com/carlocorradini)! - Update tinyglobby to latest version


## [v3.8.2](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#382)

##### Patch Changes

-   [#357](import-js/eslint-import-resolver-typescript#357) [`5fd349e`](import-js/eslint-import-resolver-typescript@5fd349e) Thanks [@carlocorradini](https://github.com/carlocorradini)! - Update the `tinyglobby` to the latest version to solve performance regressions.


## [v3.8.1](https://github.com/import-js/eslint-import-resolver-typescript/blob/HEAD/CHANGELOG.md#381)

##### Patch Changes

-   [#352](import-js/eslint-import-resolver-typescript#352) [`0c6303d`](import-js/eslint-import-resolver-typescript@0c6303d) Thanks [@carlocorradini](https://github.com/carlocorradini)! - Set cwd while resolving tsconfig include
@keeban-io
Copy link
Copy Markdown

Looks like this issue resolved on 3.x, but not on 4.x.

@carlocorradini
Copy link
Copy Markdown
Collaborator Author

@keeban-io Please create a new issue 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

import/no-unresolved on NX monorepos starting from version 3.8.x

3 participants