Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.26.0
->^2.31.0
^6.6.1
->^6.10.2
^7.31.10
->^7.37.2
Release Notes
import-js/eslint-plugin-import (eslint-plugin-import)
v2.31.0
Compare Source
Added
order
]: allow validating named imports ([#3043], thanks [@manuth])extensions
]: add thecheckTypeImports
option ([#2817], thanks [@phryneas])Fixed
ExportMap
/ flat config: includelanguageOptions
in 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])Changed
no-relative-packages
]: fix typo ([#3066], thanks [@joshuaobrien])no-cycle
]: dont scc for each linted file ([#3068], thanks [@soryy708])no-cycle
]: adddisableScc
to docs ([#3070], thanks [@soryy708])RuleTester
([#3071], thanks [@G-Rath])no-restricted-paths
]: fix grammar ([#3073], thanks [@unbeauvoyage])no-default-export
], [no-named-export
]: add test case (thanks [@G-Rath])v2.30.0
Compare Source
Added
dynamic-import-chunkname
]: addallowEmpty
option 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
]: AddignoreUnusedTypeExports
option ([#3011], thanks [@silverwind])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
no-extraneous-dependencies
: Make glob pattern description more explicit ([#2944], thanks [@mulztob])no-unused-modules
]: add console message to help debug [#2866]ExportMap
: make procedures static instead of monkeypatching exportmap ([#2982], thanks [@soryy708])ExportMap
: separate ExportMap instance from its builder logic ([#2985], thanks [@soryy708])order
: Add a quick note on how unbound imports and --fix ([#2640], thanks [@minervabot])exportMapBuilder
: avoid hoisting ([#2989], thanks [@soryy708])ExportMap
: extract "builder" logic to separate files ([#2991], thanks [@soryy708])order
]: update the description of thepathGroupsExcludedImportTypes
option ([#3036], thanks [@liby])v2.29.1
Compare Source
Fixed
no-extraneous-dependencies
]: ignoreexport type { ... } from '...'
whenincludeTypes
isfalse
([#2919], thanks [@Pandemic1617])no-unused-modules
]: support export patterns with array destructuring ([#2930], thanks [@ljharb])tsconfig-paths
([#2447], thanks [@domdomegg])v2.29.0
Compare Source
Added
newline-after-import
]: new optionexactCount
and docs update ([#1933], thanks [@anikethsaha] and [@reosarevok])newline-after-import
]: fixexactCount
withconsiderComments
false positive, when there is a leading comment ([#2884], thanks [@kinland])v2.28.1
Compare Source
Fixed
order
]: revert breaking change to single nested group ([#2854], thanks [@yndajas])Changed
v2.28.0
Compare Source
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])ExportMap
: ImproveExportMap.for
performance 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
no-duplicates
]: fix example schema ([#2684], thanks [@simmo])group-exports
]: fix syntax highlighting ([#2699], thanks [@devinrhode2])extensions
]: reference node ESM behavior ([#2748], thanks [@xM8WVqaG])exports-last
]: usearray.prototype.findlastindex
(thanks [@ljharb])no-anonymous-default-export
]: useobject.fromentries
(thanks [@ljharb])no-unused-modules
]: usearray.prototype.flatmap
(thanks [@ljharb])v2.27.5
Compare Source
Fixed
order]
: Fix group ranks order when alphabetizing ([#2674], thanks [@Pearce-Ropion])v2.27.4
Compare Source
Fixed
semver
should be a prod dep ([#2668])v2.27.3
Compare Source
Fixed
no-empty-named-blocks
]: rewrite rule to only check import declarations ([#2666])v2.27.2
Compare Source
Fixed
no-duplicates
]: do not unconditionally requiretypescript
([#2665])v2.27.1
Compare Source
Fixed
array.prototype.flatmap
should be a prod dep ([#2664], thanks [@cristobal])v2.27.0
Compare Source
Added
newline-after-import
]: addconsiderComments
option ([#2399], thanks [@pri1311])no-cycle
]: addallowUnsafeDynamicCyclicDependency
option ([#2387], thanks [@GerkinDev])no-restricted-paths
]: support arrays forfrom
andtarget
options ([#2466], thanks [@AdriAt360])no-anonymous-default-export
]: addallowNew
option ([#2505], thanks [@DamienCassou])order
]: AdddistinctGroup
option ([#2395], thanks [@hyperupcall])no-extraneous-dependencies
]: AddincludeInternal
option ([#2541], thanks [@bdwain])no-extraneous-dependencies
]: AddincludeTypes
option ([#2543], thanks [@bdwain])order
]: newalphabetize.orderImportKind
option to sort imports with same path based on their kind (type
,typeof
) ([#2544], thanks [@stropho])consistent-type-specifier-style
]: add rule ([#2473], thanks [@bradzacher])no-empty-named-blocks
] rule ([#2568], thanks [@guilhermelimak])prefer-default-export
]: add "target" option ([#2602], thanks [@azyzz228])no-absolute-path
]: add fixer ([#2613], thanks [@adipascu])no-duplicates
]: support inline type import withinlineTypeImport
option ([#2475], thanks [@snewcomer])Fixed
order
]: move nested imports closer to main import entry ([#2396], thanks [@pri1311])no-restricted-paths
]: fix an error message ([#2466], thanks [@AdriAt360])no-restricted-paths
]: useMinimatch.match
instead ofminimatch
to comply with Windows Native paths ([#2466], thanks [@AdriAt360])order
]: require with member expression could not be fixed if alphabetize.order was used ([#2490], thanks [@msvab])order
]: leave more space in rankings for consecutive path groups ([#2506], thanks [@Pearce-Ropion])no-cycle
]: add ExportNamedDeclaration statements to dependencies ([#2511], thanks [@BenoitZugmeyer])dynamic-import-chunkname
]: prevent false report on a valid webpack magic comment ([#2330], thanks [@mhmadhamster])export
]: do not error on TS export overloads ([#1590], thanks [@ljharb])no-unresolved
], [extensions
]: ignore type only exports ([#2436], thanks [@Lukas-Kullmann])ExportMap
: add missing param to function ([#2589], thanks [@Fdawgs])no-unused-modules
]:checkPkgFieldObject
filters boolean fields from checks ([#2598], thanks [@mpint])no-cycle
]: accept Flowtypeof
imports, just liketype
([#2608], thanks [@gnprice])no-import-module-exports
]: avoid a false positive for import variables ([#2315], thanks [@BarryThePenguin])Changed
named
]: Run all TypeScript test ([#2427], thanks [@ProdigySim])import/extensions
section ([#2440], thanks [@OutdatedVersion])order
]: use correct default value ([#2392], thanks [@hyperupcall])eslint-import-resolver-typescript
usage ([#2503], thanks [@JounQin])no-cycle
]: Add per-run caching of traversed paths ([#2419], thanks [@nokel81])ExportMap
: add caching after parsing for an ambiguous module ([#2531], thanks [@stenin-nikita])no-useless-path-segments
]: fix paths ([#2424], thanks [@s-h-a-d-o-w])no-cycle
]: add passing test cases ([#2438], thanks [@georeith])no-extraneous-dependencies
] improve performance using cache ([#2374], thanks [@meowtec])CONTRIBUTING.md
: mention inactive PRs ([#2546], thanks [@stropho])no-restricted-paths
]: Tests forimport type
statements ([#2459], thanks [@golergka])no-restricted-paths
]: fix one failingimport type
test case, submitted by [@golergka], thanks [@azyzz228]eslint-doc-generator
to v1.0.0 ([#2605], thanks [@bmish])no-cycle
], [no-internal-modules
], [no-restricted-paths
]: useanyOf
instead ofoneOf
(thanks [@ljharb], [@remcohaszing])jsx-eslint/eslint-plugin-jsx-a11y (eslint-plugin-jsx-a11y)
v6.10.2
Compare Source
Fixed
no-redundandant-roles
: allow<img src="*.svg" role="img" />
#936
Commits
0d01a1a
es-iterator-helpers
aa075bd
d15d3ab
@babel/cli
,@babel/core
,@babel/eslint-parser
,@babel/plugin-transform-flow-strip-types
,@babel/register
5dad7c4
aria-role
: Add valid test for<svg role="img" />
daba189
label-has-associated-control
: add line breaks for readability0bc6378
label-has-associated-control
: add additional test cases30d2318
d92446c
v6.10.1
Compare Source
Commits
4925ba8
cb6788c
@babel/cli
,@babel/core
,@babel/eslint-parser
,@babel/plugin-transform-flow-strip-types
,@babel/register
,auto-changelog
,eslint-plugin-import
,tape
518a77e
es-iterator-helpers
,string.prototype.includes
eed03a3
2ee940c
a262131
aria-query
e517937
v6.10.0
Compare Source
Fixed
label-has-associated-control
: add additional error message#1005
label-has-associated-control
: ignore undetermined label text#966
Commits
a284cbf
deac4fd
attributes
settinga1ee7f8
6cd1a70
74d5dec
@babel/cli
,@babel/core
,@babel/eslint-parser
,@babel/plugin-transform-flow-strip-types
6eca235
0be7ea9
npm audit
instead ofaud
05a5e49
axobject-query
912e98c
axobject-query
75147aa
axe-core
27ff7cb
ce846e0
cca288b
v6.9.0
Compare Source
Fixed
img-redundant-alt
: fixed multibyte character support#969
#960
Commits
6b5f096
isNonInteractiveElement
: Upgrade aria-query to 5.3.0 and axobject-query to 3.2.1"75d5dd7
safe-regex-test
4c7e781
51a1ca7
@babel/cli
,@babel/core
,@babel/eslint-parser
,@babel/plugin-transform-flow-strip-types
,@babel/register
,eslint-doc-generator
,object.entries
1271ac1
@babel/cli
,@babel/core
,@babel/register
,aud
,eslint-plugin-import
,npmignore
,object.assign
540cb7a
@babel/runtime
,array-includes
,es-iterator-helpers
,hasown
,object.fromentries
,safe-regex-test
5d14408
aria-query
andaxobject-query
, addls-engines
test to CI32fd82c
@babel/core
,@babel/eslint-parser
,@babel/plugin-transform-flow-strip-types
,eslint-doc-generator
d1b4114
summary
remains non-interactive6a048da
@babel/runtime
0a98ad8
no-noninteractive-element-to-interactive-role
: allowmenuitemradio
andmenuitemcheckbox
on <li>c0733f9
@babel/runtime
,safe-regex-test
0d5321a
961817f
axe-core
b3559cf
object.entries
to dev deps1be7b70
@babel/runtime
2a48abb
@babel/runtime
1adec35
v6.8.0
Compare Source
Merged
title
attribute oraria-label
attribute instead of accessible child in the "anchor-has-content" rule#727
Fixed
aria-activedescendant-has-tabindex
: align with changes from #708#924
control-has-associated-label
: don't accept whitespace as an accessible label#918
Commits
eslint-plugin-react
ce4d57f
es-iterator-helpers
52de824
mouse-events-have-key-events
: addhoverInHandlers
/hoverOutHandlers
configdb64898
polymorphicPropName
setting for polymorphic componentsfffb05b
isNonInteractiveElement
: Upgrade aria-query to 5.3.0 and axobject-query to 3.2.164bfea6
hasown
instead ofhas
9a8edde
10c061a
@babel/cli
,@babel/core
,@babel/eslint-parser
,@babel/plugin-transform-flow-strip-types
,@babel/register
,aud
,eslint-doc-generator
,eslint-plugin-import
,minimist
6d5022d
@babel/cli
,@babel/core
,@babel/eslint-parser
,@babel/register
,eslint-doc-generator
,eslint-plugin-import
4dc7f1e
anchor-has-content
: Allow title attribute OR aria-label attributee6bfd5c
mouse-events-have-key-events
: rport the attribute, not the nodeeadd70c
@babel/runtime
,array-includes
,array.prototype.flatmap
,object.entries
,object.fromentries
46ffbc3
@babel/runtime
,axobject-query
,jsx-ast-utils
,semver
5999555
aria-query
andaxe-core
to fix failing tests on main8d8f016
semver
from Deps to Dev Deps4da13e7
ast-types-flow
b755318
eslint-plugin-import
f1c976b
language-tags
3d1d26d
no-static-element-interactions
: tabIndex is written tabindex1271153
f0d2ddb
jackspeak
since 2.1.2+ depends on npm aliases, which kill the install process in npm < 60c278f4
v6.7.1
Compare Source
Commits
no-aria-hidden-on-focusable
rule's missing exportb01219e
v6.7.0
Compare Source
Merged
#833
Fixed
aria-role
: add now-passing test#756
control-has-associated-label
: fix metadata#892
no-aria-hidden-on-focusable
rule#881
Commits
eslint-doc-generator
6d7a857
3d77c84
anchor-ambiguous-text
rule7f6463e
getAccessibleChildText
util630116b
isFocusable
utils methode199d17
eslint-doc-generator
to v1.0.06b9855b
no-noninteractive-element-interactions
: Ignore contenteditable elements in no-noninteractive-element-interactions9aa878b
anchor-ambiguous-text
: ignore punctuationbbae2c4
anchor-ambiguous-text
,getAccessibleChildText
: Implements check foralt
tags on<img />
elementsbb84abc
npmignore
to autogenerate an npmignore file6ad2312
auto-changelog
283817b
79b975a
aria-query
,axobject-query
7b3cda3
@babel/cli
,@babel/core
,@babel/eslint-parser
,@babel/plugin-transform-flow-strip-types
,aud
,object.assign
0852947
.eslintignore
toignorePatterns
65be35b
@babel/cli
,@babel/core
,aud
,eslint-doc-generator
60c2df5
@babel/runtime
,array-includes
,axe-core
4abc751
@babel/runtime
,axe-core
89f766c
e411ce3
@babel/core
,minimist
cccdb62
markdown-magic
3382059
prefer-tag-over-role
38d52f8
label-has-for
: reran generate-list-of-rules9a2af01
language-tags
tov1.0.5
f84bb74
@babel/core
cf3f8d0
axe-core
0a73cf4
@babel/runtime
053f04d
@babel/runtime
bccf0ae
jsx-ast-utils
c9687cc
8b889bf
prefer-tag-over-role
: rename docs file0bdf95b
jsx-eslint/eslint-plugin-react (eslint-plugin-react)
v7.37.2
Compare Source
Fixed
destructuring-assignment
]: fix false negative when usingtypeof props.a
(#3835 @golopot)Changed
destructuring-assignment
]: usegetParentStatelessComponent
(#3835 @golopot)v7.37.1
Compare Source
Fixed
d.ts
files (#3836 @ljharb)Changed
v7.37.0
Compare Source
Added
no-unescaped-entities
]: add suggestions (#3831 @StyleShit)forbid-component-props
]: addallowedForPatterns
/disallowedForPatterns
options (#3805 @Efimenko)no-unstable-nested-components
]: addpropNamePattern
to support custom render prop naming conventions (#3826 @danreeves)Changed
v7.36.1
Compare Source
Fixed
no-is-mounted
]: fix logic in method name check (#3821 @Mathias-S)jsx-no-literals
]: Avoid crashing on valueless boolean props (#3823 @reosarevok)v7.36.0
Compare Source
Added
no-string-refs
]: allow this.refs in > 18.3.0 (#3807 @henryqdineen)jsx-no-literals
] AddelementOverrides
option and the ability to ignore this rule on specific elements (#3812 @Pearce-Ropion)forward-ref-uses-ref
]: add rule for checking ref parameter is added ([#3667][] @NotWoods)Fixed
function-component-definition
], [boolean-prop-naming
], [jsx-first-prop-new-line
], [jsx-props-no-multi-spaces
],propTypes
: use type args (#3629 @HenryBrown0)jsx-props-no-spreading
]: addexplicitSpread
option to schema (#3799 @ljharb)Changed
no-danger
]: update broken link (#3817 @lucasrmendonca)button-has-type
: add test case with spread (#3731 @y-hsgw)v7.35.2
[Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compare/v7.35
Configuration
📅 Schedule: Branch creation - "on the 2nd and 4th day instance on sunday after 9pm" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.