backend
backend copied to clipboard
chore(deps): update dependency eslint-plugin-import to v2.31.0
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| eslint-plugin-import | 2.27.5 -> 2.31.0 |
Release Notes
import-js/eslint-plugin-import (eslint-plugin-import)
v2.31.0
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])
v2.30.0
Added
- [
dynamic-import-chunkname]: addallowEmptyoption to allow empty leading comments ([#2942], thanks [@JiangWeixian]) - [
dynamic-import-chunkname]: Allow empty chunk name when webpackMode: 'eager' is set; add suggestions to remove name in eager mode ([#3004], thanks [@amsardesai]) - [
no-unused-modules]: AddignoreUnusedTypeExportsoption ([#3011], thanks [@silverwind]) - add support for Flat Config ([#3018], thanks [@michaelfaith])
Fixed
- [
no-extraneous-dependencies]: allow wrong path ([#3012], thanks [@chabb]) - [
no-cycle]: use scc algorithm to optimize ([#2998], thanks [@soryy708]) - [
no-duplicates]: Removing duplicates breaks in TypeScript ([#3033], thanks [@yesl-kim]) - [
newline-after-import]: fix considerComments option when require ([#2952], thanks [@developer-bandi]) - [
order]: do not compare first path segment for relative paths ([#2682]) ([#2885], thanks [@mihkeleidast])
Changed
- [Docs]
no-extraneous-dependencies: Make glob pattern description more explicit ([#2944], thanks [@mulztob]) - [
no-unused-modules]: add console message to help debug [#2866] - [Refactor]
ExportMap: make procedures static instead of monkeypatching exportmap ([#2982], thanks [@soryy708]) - [Refactor]
ExportMap: separate ExportMap instance from its builder logic ([#2985], thanks [@soryy708]) - [Docs]
order: Add a quick note on how unbound imports and --fix ([#2640], thanks [@minervabot]) - [Tests] appveyor -> GHA (run tests on Windows in both pwsh and WSL + Ubuntu) ([#2987], thanks [@joeyguerra])
- [actions] migrate OSX tests to GHA ([ljharb#37], thanks [@aks-])
- [Refactor]
exportMapBuilder: avoid hoisting ([#2989], thanks [@soryy708]) - [Refactor]
ExportMap: extract "builder" logic to separate files ([#2991], thanks [@soryy708]) - [Docs] [
order]: update the description of thepathGroupsExcludedImportTypesoption ([#3036], thanks [@liby]) - [readme] Clarify how to install the plugin ([#2993], thanks [@jwbth])
v2.29.1
Fixed
- [
no-extraneous-dependencies]: ignoreexport type { ... } from '...'whenincludeTypesisfalse([#2919], thanks [@Pandemic1617]) - [
no-unused-modules]: support export patterns with array destructuring ([#2930], thanks [@ljharb]) - [Deps] update
tsconfig-paths([#2447], thanks [@domdomegg])
v2.29.0
Added
- TypeScript config: add .cts and .mts extensions ([#2851], thanks [@Zamiell])
- [
newline-after-import]: new optionexactCountand docs update ([#1933], thanks [@anikethsaha] and [@reosarevok]) - [
newline-after-import]: fixexactCountwithconsiderCommentsfalse positive, when there is a leading comment ([#2884], thanks [@kinland])
v2.28.1
Fixed
Changed
v2.28.0
Fixed
- [
no-duplicates]: remove duplicate identifiers in duplicate imports ([#2577], thanks [@joe-matsec]) - [
consistent-type-specifier-style]: fix accidental removal of comma in certain cases ([#2754], thanks [@bradzacher]) - [Perf]
ExportMap: ImproveExportMap.forperformance on larger codebases ([#2756], thanks [@leipert]) - [
no-extraneous-dependencies]/TypeScript: do not error when importing inline type from dev dependencies ([#1820], thanks [@andyogo]) - [
newline-after-import]/TypeScript: do not error when re-exporting a namespaced import ([#2832], thanks [@laurens-dg]) - [
order]: partial fix for [#2687] (thanks [@ljharb]) - [
no-duplicates]: Detect across type and regular imports ([#2835], thanks [@benkrejci]) - [
extensions]: handle.and..properly ([#2778], thanks [@benasher44]) - [
no-unused-modules]: improve schema (thanks [@ljharb]) - [
no-unused-modules]: report error on binding instead of parent export ([#2842], thanks [@Chamion])
Changed
- [Docs] [
no-duplicates]: fix example schema ([#2684], thanks [@simmo]) - [Docs] [
group-exports]: fix syntax highlighting ([#2699], thanks [@devinrhode2]) - [Docs] [
extensions]: reference node ESM behavior ([#2748], thanks [@xM8WVqaG]) - [Refactor] [
exports-last]: usearray.prototype.findlastindex(thanks [@ljharb]) - [Refactor] [
no-anonymous-default-export]: useobject.fromentries(thanks [@ljharb]) - [Refactor] [
no-unused-modules]: usearray.prototype.flatmap(thanks [@ljharb])
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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 was generated by Mend Renovate. View the repository job log.