Skip to content

Commit 7e195a2

Browse files
chanceaclarkijjk
andauthored
chore(eslint-config-next): bump eslint-import-resolver-typescript (#43010)
<!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change that you're making: --> ## Bug Bumps `eslint-import-resolver-typescript` in `eslint-config-next` to the latest version to pick up a fix from `3.1.0`. As mentioned here, import-js/eslint-import-resolver-typescript#107, the typescript parser is unable to resolve the `typesVersions ` field in their `package.json`. An example repo using this is [`@vercel/examples-ui`](https://github.com/vercel/examples/blob/385a2e968619f9e50f488e2857e021841ae61030/packages/ui/package.json#L14-L22) which will report an eslint `import/no-unresolved` error when using the previous version of `eslint-import-resolver-typescript` (see import-js/eslint-import-resolver-typescript#107). This was fixed in import-js/eslint-import-resolver-typescript#110 This can be locally fixed by bumping `>[email protected]` but decided it should be resolved here too. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [x] Errors have a helpful link attached, see `contributing.md` Closes: #41786 Co-authored-by: JJ Kasper <[email protected]>
1 parent 6bbb52e commit 7e195a2

File tree

3 files changed

+69
-29
lines changed

3 files changed

+69
-29
lines changed

packages/eslint-config-next/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"@rushstack/eslint-patch": "^1.1.3",
1414
"@typescript-eslint/parser": "^5.42.0",
1515
"eslint-import-resolver-node": "^0.3.6",
16-
"eslint-import-resolver-typescript": "^2.7.1",
16+
"eslint-import-resolver-typescript": "^3.5.2",
1717
"eslint-plugin-import": "^2.26.0",
1818
"eslint-plugin-jsx-a11y": "^6.5.1",
1919
"eslint-plugin-react": "^7.31.7",

packages/next/compiled/babel-packages/packages-bundle.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-lock.yaml

+66-26
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)