How to resolve breaking changes
This PR may introduce breaking changes that require manual intervention. In such cases, you will need to check out this branch, fix the cause of the breakage, and commit the fix to ensure a green CI build. To check out and update this PR, follow the steps below:
```sh
# Check out the PR branch
git checkout -b renovate/linting-devdependencies main
git pull https://github.com/ampproject/amphtml.git renovate/linting-devdependencies
# Directly make fixes and commit them
amp lint --fix # For lint errors in JS files
amp prettify --fix # For prettier errors in non-JS files
# Edit source code in case of new compiler warnings / errors
# Push the changes to the branch
git push git@github.com:ampproject/amphtml.git renovate/linting-devdependencies:renovate/linting-devdependencies
```
Release Notes
import-js/eslint-plugin-import (eslint-plugin-import)
### [`v2.31.0`](https://redirect.github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2310---2024-10-03)
[Compare Source](https://redirect.github.com/import-js/eslint-plugin-import/compare/v2.30.0...v2.31.0)
##### Added
- support eslint v9 (\[[#2996](https://redirect.github.com/import-js/eslint-plugin-import/issues/2996)], thanks \[[@G-Rath](https://redirect.github.com/G-Rath)] \[[@michaelfaith](https://redirect.github.com/michaelfaith)])
- \[`order`]: allow validating named imports (\[[#3043](https://redirect.github.com/import-js/eslint-plugin-import/issues/3043)], thanks \[[@manuth](https://redirect.github.com/manuth)])
- \[`extensions`]: add the `checkTypeImports` option (\[[#2817](https://redirect.github.com/import-js/eslint-plugin-import/issues/2817)], thanks \[[@phryneas](https://redirect.github.com/phryneas)])
##### Fixed
- `ExportMap` / flat config: include `languageOptions` in context (\[[#3052](https://redirect.github.com/import-js/eslint-plugin-import/issues/3052)], thanks \[[@michaelfaith](https://redirect.github.com/michaelfaith)])
- \[`no-named-as-default`]: Allow using an identifier if the export is both a named and a default export (\[[#3032](https://redirect.github.com/import-js/eslint-plugin-import/issues/3032)], thanks \[[@akwodkiewicz](https://redirect.github.com/akwodkiewicz)])
- \[`export`]: False positive for exported overloaded functions in TS (\[[#3065](https://redirect.github.com/import-js/eslint-plugin-import/issues/3065)], thanks \[[@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu)])
- `exportMap`: export map cache is tainted by unreliable parse results (\[[#3062](https://redirect.github.com/import-js/eslint-plugin-import/issues/3062)], thanks \[[@michaelfaith](https://redirect.github.com/michaelfaith)])
- `exportMap`: improve cacheKey when using flat config (\[[#3072](https://redirect.github.com/import-js/eslint-plugin-import/issues/3072)], thanks \[[@michaelfaith](https://redirect.github.com/michaelfaith)])
- adjust "is source type module" checks for flat config (\[[#2996](https://redirect.github.com/import-js/eslint-plugin-import/issues/2996)], thanks \[[@G-Rath](https://redirect.github.com/G-Rath)])
##### Changed
- \[Docs] \[`no-relative-packages`]: fix typo (\[[#3066](https://redirect.github.com/import-js/eslint-plugin-import/issues/3066)], thanks \[[@joshuaobrien](https://redirect.github.com/joshuaobrien)])
- \[Performance] \[`no-cycle`]: dont scc for each linted file (\[[#3068](https://redirect.github.com/import-js/eslint-plugin-import/issues/3068)], thanks \[[@soryy708](https://redirect.github.com/soryy708)])
- \[Docs] \[`no-cycle`]: add `disableScc` to docs (\[[#3070](https://redirect.github.com/import-js/eslint-plugin-import/issues/3070)], thanks \[[@soryy708](https://redirect.github.com/soryy708)])
- \[Tests] use re-exported `RuleTester` (\[[#3071](https://redirect.github.com/import-js/eslint-plugin-import/issues/3071)], thanks \[[@G-Rath](https://redirect.github.com/G-Rath)])
- \[Docs] \[`no-restricted-paths`]: fix grammar (\[[#3073](https://redirect.github.com/import-js/eslint-plugin-import/issues/3073)], thanks \[[@unbeauvoyage](https://redirect.github.com/unbeauvoyage)])
- \[Tests] \[`no-default-export`], \[`no-named-export`]: add test case (thanks \[[@G-Rath](https://redirect.github.com/G-Rath)])
Configuration
š Schedule: Branch creation - "after 12am every weekday" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).
š¦ Automerge: Enabled.
ā» Rebasing: Never, or you tick the rebase/retry checkbox.
š Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
2.30.0
->2.31.0
See all other Renovate PRs on the Dependency Dashboard
How to resolve breaking changes
This PR may introduce breaking changes that require manual intervention. In such cases, you will need to check out this branch, fix the cause of the breakage, and commit the fix to ensure a green CI build. To check out and update this PR, follow the steps below: ```sh # Check out the PR branch git checkout -b renovate/linting-devdependencies main git pull https://github.com/ampproject/amphtml.git renovate/linting-devdependencies # Directly make fixes and commit them amp lint --fix # For lint errors in JS files amp prettify --fix # For prettier errors in non-JS files # Edit source code in case of new compiler warnings / errors # Push the changes to the branch git push git@github.com:ampproject/amphtml.git renovate/linting-devdependencies:renovate/linting-devdependencies ```Release Notes
import-js/eslint-plugin-import (eslint-plugin-import)
### [`v2.31.0`](https://redirect.github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2310---2024-10-03) [Compare Source](https://redirect.github.com/import-js/eslint-plugin-import/compare/v2.30.0...v2.31.0) ##### Added - support eslint v9 (\[[#2996](https://redirect.github.com/import-js/eslint-plugin-import/issues/2996)], thanks \[[@G-Rath](https://redirect.github.com/G-Rath)] \[[@michaelfaith](https://redirect.github.com/michaelfaith)]) - \[`order`]: allow validating named imports (\[[#3043](https://redirect.github.com/import-js/eslint-plugin-import/issues/3043)], thanks \[[@manuth](https://redirect.github.com/manuth)]) - \[`extensions`]: add the `checkTypeImports` option (\[[#2817](https://redirect.github.com/import-js/eslint-plugin-import/issues/2817)], thanks \[[@phryneas](https://redirect.github.com/phryneas)]) ##### Fixed - `ExportMap` / flat config: include `languageOptions` in context (\[[#3052](https://redirect.github.com/import-js/eslint-plugin-import/issues/3052)], thanks \[[@michaelfaith](https://redirect.github.com/michaelfaith)]) - \[`no-named-as-default`]: Allow using an identifier if the export is both a named and a default export (\[[#3032](https://redirect.github.com/import-js/eslint-plugin-import/issues/3032)], thanks \[[@akwodkiewicz](https://redirect.github.com/akwodkiewicz)]) - \[`export`]: False positive for exported overloaded functions in TS (\[[#3065](https://redirect.github.com/import-js/eslint-plugin-import/issues/3065)], thanks \[[@liuxingbaoyu](https://redirect.github.com/liuxingbaoyu)]) - `exportMap`: export map cache is tainted by unreliable parse results (\[[#3062](https://redirect.github.com/import-js/eslint-plugin-import/issues/3062)], thanks \[[@michaelfaith](https://redirect.github.com/michaelfaith)]) - `exportMap`: improve cacheKey when using flat config (\[[#3072](https://redirect.github.com/import-js/eslint-plugin-import/issues/3072)], thanks \[[@michaelfaith](https://redirect.github.com/michaelfaith)]) - adjust "is source type module" checks for flat config (\[[#2996](https://redirect.github.com/import-js/eslint-plugin-import/issues/2996)], thanks \[[@G-Rath](https://redirect.github.com/G-Rath)]) ##### Changed - \[Docs] \[`no-relative-packages`]: fix typo (\[[#3066](https://redirect.github.com/import-js/eslint-plugin-import/issues/3066)], thanks \[[@joshuaobrien](https://redirect.github.com/joshuaobrien)]) - \[Performance] \[`no-cycle`]: dont scc for each linted file (\[[#3068](https://redirect.github.com/import-js/eslint-plugin-import/issues/3068)], thanks \[[@soryy708](https://redirect.github.com/soryy708)]) - \[Docs] \[`no-cycle`]: add `disableScc` to docs (\[[#3070](https://redirect.github.com/import-js/eslint-plugin-import/issues/3070)], thanks \[[@soryy708](https://redirect.github.com/soryy708)]) - \[Tests] use re-exported `RuleTester` (\[[#3071](https://redirect.github.com/import-js/eslint-plugin-import/issues/3071)], thanks \[[@G-Rath](https://redirect.github.com/G-Rath)]) - \[Docs] \[`no-restricted-paths`]: fix grammar (\[[#3073](https://redirect.github.com/import-js/eslint-plugin-import/issues/3073)], thanks \[[@unbeauvoyage](https://redirect.github.com/unbeauvoyage)]) - \[Tests] \[`no-default-export`], \[`no-named-export`]: add test case (thanks \[[@G-Rath](https://redirect.github.com/G-Rath)])Configuration
š Schedule: Branch creation - "after 12am every weekday" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).
š¦ Automerge: Enabled.
ā» Rebasing: Never, or you tick the rebase/retry checkbox.
š Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.