[Snyk] Upgrade eslint-plugin-import from 2.31.0 to 2.32.0
Snyk has created this PR to upgrade eslint-plugin-import from 2.31.0 to 2.32.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
-
The recommended version is 1 version ahead of your current version.
-
The recommended version was released 24 days ago.
Release notes
Package name: eslint-plugin-import
-
2.32.0 - 2025-06-20
Added
- add
enforce-node-protocol-usagerule andimport/node-versionsetting (#3024, thanks @ GoldStrikeArch and @ sevenc-nanashi) - add TypeScript types (#3097, thanks @ G-Rath)
extensions: add `pathGroupOverrides to allow enforcement decision overrides based on specifier (#3105, thanks @ Xunnamius)order: addsortTypesGroupoption to allow intragroup sorting of type-only imports (#3104, thanks @ Xunnamius)order: addnewlines-between-typesoption to control intragroup sorting of type-only imports (#3127, thanks @ Xunnamius)order: addconsolidateIslandsoption to collapse excess spacing for aesthetically pleasing imports (#3129, thanks @ Xunnamius)
Fixed
no-unused-modules: provide more meaningful error message when no .eslintrc is present (#3116, thanks @ michaelfaith)- configs: added missing name attribute for eslint config inspector (#3151, thanks @ NishargShah)
order: ensure arcane imports do not cause undefined behavior (#3128, thanks @ Xunnamius)order: resolve undefined property access issue when usingnamedordering (#3166, thanks @ Xunnamius)enforce-node-protocol-usage: avoid a crash with some TS code (#3173, thanks @ ljharb)order: codify invariants from docs into config schema (#3152, thanks @ Xunnamius)
Changed
- [Docs]
extensions,order: improve documentation (#3106, thanks @ Xunnamius) - [Docs] add flat config guide for using
tseslint.config()(#3125, thanks @ lnuvy) - [Docs] add missing comma (#3122, thanks @ RyanGst)
- [readme] Update flatConfig example to include typescript config (#3138, thanks @ intellix)
- [Refactor]
order: remove unnecessary negative check (#3167, thanks @ JounQin) - [Docs]
no-unused-modules: add missing double quote (#3191, thanks @ albertpastrana) - [Docs]
no-restricted-paths: clarify wording and fix errors (#3172, thanks @ greim)
- add
-
2.31.0 - 2024-10-03
Added
- support eslint v9 (#2996, thanks @ G-Rath @ michaelfaith)
order: allow validating named imports (#3043, thanks @ manuth)extensions: add thecheckTypeImportsoption (#2817, thanks @ phryneas)
Fixed
ExportMap/ flat config: includelanguageOptionsin context (#3052, thanks @ michaelfaith)no-named-as-default: Allow using an identifier if the export is both a named and a default export (#3032, thanks @ akwodkiewicz)export: False positive for exported overloaded functions in TS (#3065, thanks @ liuxingbaoyu)exportMap: export map cache is tainted by unreliable parse results (#3062, thanks @ michaelfaith)exportMap: improve cacheKey when using flat config (#3072, thanks @ michaelfaith)- adjust "is source type module" checks for flat config (#2996, thanks @ G-Rath)
Changed
- [Docs]
no-relative-packages: fix typo (#3066, thanks @ joshuaobrien) - [Performance]
no-cycle: dont scc for each linted file (#3068, thanks @ soryy708) - [Docs]
no-cycle: adddisableSccto docs (#3070, thanks @ soryy708) - [Tests] use re-exported
RuleTester(#3071, thanks @ G-Rath) - [Docs]
no-restricted-paths: fix grammar (#3073, thanks @ unbeauvoyage) - [Tests]
no-default-export,no-named-export: add test case (thanks @ G-Rath)
[!IMPORTANT]
- Check the changes in this PR to ensure they won't cause issues with your project.
- This PR was automatically created by Snyk using the credentials of a real user.
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
:tada: Snyk checks have passed. No issues have been found so far.
:white_check_mark: security/snyk check is complete. No issues have been found. (View Details)
Pull Request Test Coverage Report for Build 16289993087
Details
- 0 of 0 changed or added relevant lines in 0 files are covered.
- No unchanged relevant lines lost coverage.
- Overall coverage remained the same at 98.085%
| Totals | |
|---|---|
| Change from base Build 15467572369: | 0.0% |
| Covered Lines: | 411 |
| Relevant Lines: | 413 |
💛 - Coveralls
This pull request is stale because it has been open 30 days with no activity.