feat(deps): update eslint #959
Merged
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:
^8.52.0->^8.57.1^2.29.0->^2.31.0^27.4.3->^27.9.0^6.7.1->^6.10.2^7.33.2->^7.37.2^4.6.0->^4.6.2Release Notes
eslint/eslint (eslint)
v8.57.1Compare Source
v8.57.0Compare Source
Features
1120b9bfeat: Add loadESLint() API method for v8 (#18098) (Nicholas C. Zakas)dca7d0ffeat: Enableeslint.config.mjsandeslint.config.cjs(#18066) (Nitin Kumar)Bug Fixes
2196d97fix: handle absolute file paths inFlatRuleTester(#18064) (Nitin Kumar)69dd1d1fix: Ensure config keys are printed for config errors (#18067) (Nitin Kumar)9852a31fix: deep merge behavior in flat config (#18065) (Nitin Kumar)4c7e9b0fix: allow circular references in config (#18056) (Milos Djermanovic)Documentation
84922d0docs: Show prerelease version in dropdown (#18139) (Nicholas C. Zakas)5b8c363docs: Switch to Ethical Ads (#18117) (Milos Djermanovic)77dbfd9docs: show NEXT in version selectors (#18052) (Milos Djermanovic)Chores
1813aecchore: upgrade @eslint/js@8.57.0 (#18143) (Milos Djermanovic)5c356bbchore: package.json update for @eslint/js release (Jenkins)f4a1fe2test: add more tests for ignoring files and directories (#18068) (Nitin Kumar)42c0aefci: Enable CI forv8.xbranch (#18047) (Milos Djermanovic)v8.56.0Compare Source
Features
0dd9704feat: Support custom severity when reporting unused disable directives (#17212) (Bryan Mishkin)31a7e3ffeat: fix no-restricted-properties false negatives with unknown objects (#17818) (Arka Pratim Chaudhuri)Bug Fixes
7d5e5f6fix:TypeError: fs.exists is not a functionon read-only file system (#17846) (Francesco Trotta)74739c8fix: suggestion with invalid syntax in no-promise-executor-return rule (#17812) (Bryan Mishkin)Documentation
9007719docs: update link in ways-to-extend.md (#17839) (Amel SELMANE)3a22236docs: Update README (GitHub Actions Bot)54c3ca6docs: fix migration-guide example (#17829) (Tanuj Kanti)4391b71docs: check config comments in rule examples (#17815) (Francesco Trotta)fd28363docs: remove mention about ESLint stylistic rules in readme (#17810) (Zwyx)48ed5a6docs: Update README (GitHub Actions Bot)Chores
ba6af85chore: upgrade @eslint/js@8.56.0 (#17864) (Milos Djermanovic)60a531achore: package.json update for @eslint/js release (Jenkins)ba87a06chore: update dependency markdownlint to ^0.32.0 (#17783) (renovate[bot])9271d10chore: add GitHub issue template for docs issues (#17845) (Josh Goldberg ✨)70a686bchore: Convert rule tests to FlatRuleTester (#17819) (Nicholas C. Zakas)f3a599dchore: upgrade eslint-plugin-unicorn to v49.0.0 (#17837) (唯然)905d4b7chore: upgrade eslint-plugin-eslint-plugin v5.2.1 (#17838) (唯然)4d7c3cechore: update eslint-plugin-n v16.4.0 (#17836) (唯然)fd0c60cci: unpin Node.js 21.2.0 (#17821) (Francesco Trotta)v8.55.0Compare Source
Features
8c9e6c1feat: importNamePattern option in no-restricted-imports (#17721) (Tanuj Kanti)Documentation
83ece2adocs: fix typo--rules->--rule(#17806) (OKURA Masafumi)fffca5cdocs: remove "Open in Playground" buttons for removed rules (#17791) (Francesco Trotta)a6d9442docs: fix correct/incorrect examples of rules (#17789) (Tanuj Kanti)383e999docs: update and fix examples forno-unused-vars(#17788) (Tanuj Kanti)5a8efd5docs: add specific stylistic rule for each deprecated rule (#17778) (Etienne)Chores
eb8950cchore: upgrade @eslint/js@8.55.0 (#17811) (Milos Djermanovic)93df384chore: package.json update for @eslint/js release (Jenkins)fe4b954chore: upgrade @eslint/eslintrc@2.1.4 (#17799) (Milos Djermanovic)bd8911dci: pin Node.js 21.2.0 (#17809) (Milos Djermanovic)b29a16bchore: fix severalclitests to run in the intended flat config mode (#17797) (Milos Djermanovic)de165c1chore: remove unused config-extends fixtures (#17781) (Milos Djermanovic)d4304b8chore: remove formatting/stylistic rules from new rule templates (#17780) (Francesco Trotta)21024fechore: check rule examples for syntax errors (#17718) (Francesco Trotta)v8.54.0Compare Source
Features
a7a883bfeat: for-direction rule add check for condition in reverse order (#17755) (Angelo Annunziata)1452dc9feat: Add suggestions to no-console (#17680) (Joel Mathew Koshy)21ebf8afeat: updateno-array-constructorrule (#17711) (Francesco Trotta)Bug Fixes
98926e6fix: Ensure that extra data is not accidentally stored in the cache file (#17760) (Milos Djermanovic)e8cf9f6fix: Make dark scroll bar in dark theme (#17753) (Pavel)3cbeaadfix: Usecwdconstructor option as configbasePathin Linter (#17705) (Milos Djermanovic)Documentation
becfdd3docs: Make clear when rules are removed (#17728) (Nicholas C. Zakas)05d6e99docs: update "Submit a Pull Request" page (#17712) (Francesco Trotta)eb2279edocs: display info about deprecated rules (#17749) (Percy Ma)d245326docs: Correct working in migrating plugin docs (#17722) (Filip Tammergård)Chores
d644de9chore: upgrade @eslint/js@8.54.0 (#17773) (Milos Djermanovic)1e6e314chore: package.json update for @eslint/js release (Jenkins)6fb8805chore: Fixed grammar in issue_templates/rule_change (#17770) (Joel Mathew Koshy)85db724chore: upgrademarkdownlintto 0.31.1 (#17754) (Nitin Kumar)6d470d2chore: update dependency recast to ^0.23.0 (#17736) (renovate[bot])b7121b5chore: update dependency markdownlint-cli to ^0.37.0 (#17735) (renovate[bot])633b9a1chore: update dependency regenerator-runtime to ^0.14.0 (#17739) (renovate[bot])acac16fchore: update dependency vite-plugin-commonjs to ^0.10.0 (#17740) (renovate[bot])ba8ca7echore: add .github/renovate.json5 (#17567) (Josh Goldberg ✨)v8.53.0Compare Source
Features
528e1c0feat: Deprecate formatting rules (#17696) (Nicholas C. Zakas)c0b11ddfeat: Add suggestions for no-prototype-builtins (#17677) (Yonathan Randolph)Bug Fixes
1ad6257fix: ensure that exit code for fatal errors is not overwritten (#17683) (Milos Djermanovic)b329ea7fix: add;after JSX nodes inno-object-constructorautofix (#17672) (Francesco Trotta)Documentation
ab8c60ddocs: change position of return to top button (#17688) (Tanuj Kanti)4fc44c0docs: update twitter icon to new X icon (#17687) (Tanuj Kanti)4164b2cdocs: Update README (GitHub Actions Bot)8651895docs: Fix tabs in rule examples (#17653) (Francesco Trotta)3aec1c5docs: explained rule fixers and suggestions (#17657) (Josh Goldberg ✨)Chores
ba4d4d5chore: remove metascraper (#17707) (Milos Djermanovic)0d07338chore: Update dependencies (#17706) (Milos Djermanovic)93256a3chore: package.json update for @eslint/js release (ESLint Jenkins)485ec7dtest: fix ESLint tests for caching (#17699) (Milos Djermanovic)db06a7fci: bump actions/setup-node from 3 to 4 (#17676) (dependabot[bot])994596bci: run tests in Node.js 21 (#17673) (Francesco Trotta)import-js/eslint-plugin-import (eslint-plugin-import)
v2.31.0Compare Source
Added
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])Changed
no-relative-packages]: fix typo ([#3066], thanks [@joshuaobrien])no-cycle]: dont scc for each linted file ([#3068], thanks [@soryy708])no-cycle]: adddisableSccto 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.0Compare Source
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])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 thepathGroupsExcludedImportTypesoption ([#3036], thanks [@liby])v2.29.1Compare Source
Fixed
no-extraneous-dependencies]: ignoreexport type { ... } from '...'whenincludeTypesisfalse([#2919], thanks [@Pandemic1617])no-unused-modules]: support export patterns with array destructuring ([#2930], thanks [@ljharb])tsconfig-paths([#2447], thanks [@domdomegg])jest-community/eslint-plugin-jest (eslint-plugin-jest)
v27.9.0Compare Source
Features
v27.8.0Compare Source
Features
failing.each(#1499) (9e9cf83)v27.7.0Compare Source
Features
[@typescript-eslint](https://redirect.github.com/typescript-eslint)v7 (#1500) (6be2928)27.6.3 (2024-01-12)
Bug Fixes
27.6.2 (2024-01-10)
Reverts
tsconfig.json(#1476)" (5e6199d), closes #147627.6.1 (2024-01-01)
Bug Fixes
metainformation with snapshot processor for ESLint v9 (#1484) (067e246)v27.6.3Compare Source
Bug Fixes
v27.6.2Compare Source
Reverts
tsconfig.json(#1476)" (5e6199d), closes #1476v27.6.1Compare Source
Bug Fixes
metainformation with snapshot processor for ESLint v9 (#1484) (067e246)v27.6.0Compare Source
Features
metainformation for ESLint v9 (#1454) (4d57146)v27.5.0Compare Source
Features
27.4.3 (2023-10-20)
Bug Fixes
27.4.2 (2023-09-29)
Bug Fixes
27.4.1 (2023-09-29)
Bug Fixes
jsx-eslint/eslint-plugin-jsx-a11y (eslint-plugin-jsx-a11y)
v6.10.2Compare Source
Fixed
no-redundandant-roles: allow<img src="*.svg" role="img" />#936Commits
0d01a1aes-iterator-helpersaa075bdd15d3ab@babel/cli,@babel/core,@babel/eslint-parser,@babel/plugin-transform-flow-strip-types,@babel/register5dad7c4aria-role: Add valid test for<svg role="img" />daba189label-has-associated-control: add line breaks for readability0bc6378label-has-associated-control: add additional test cases30d2318d92446cv6.10.1Compare Source
Commits
4925ba8cb6788c@babel/cli,@babel/core,@babel/eslint-parser,@babel/plugin-transform-flow-strip-types,@babel/register,auto-changelog,eslint-plugin-import,tape518a77ees-iterator-helpers,string.prototype.includeseed03a32ee940ca262131aria-querye517937v6.10.0Compare Source
Fixed
label-has-associated-control: add additional error message#1005label-has-associated-control: ignore undetermined label text#966Commits
a284cbfdeac4fdattributessettinga1ee7f86cd1a7074d5dec@babel/cli,@babel/core,@babel/eslint-parser,@babel/plugin-transform-flow-strip-types6eca2350be7ea9npm auditinstead ofaud05a5e49axobject-query912e98caxobject-query75147aaaxe-core27ff7cbce846e0cca288bv6.9.0Compare Source
Fixed
img-redundant-alt: fixed multibyte character support#969#960Commits
6b5f096isNonInteractiveElement: Upgrade aria-query to 5.3.0 and axobject-query to 3.2.1"75d5dd7safe-regex-test4c7e78151a1ca7@babel/cli,@babel/core,@babel/eslint-parser,@babel/plugin-transform-flow-strip-types,@babel/register,eslint-doc-generator,object.entries1271ac1@babel/cli,@babel/core,@babel/register,aud,eslint-plugin-import,npmignore,object.assign540cb7a@babel/runtime,array-includes,es-iterator-helpers,hasown,object.fromentries,safe-regex-test5d14408aria-queryandaxobject-query, addls-enginestest to CI32fd82c@babel/core,@babel/eslint-parser,@babel/plugin-transform-flow-strip-types,eslint-doc-generatord1b4114summaryremains non-interactive6a048da@babel/runtime0a98ad8no-noninteractive-element-to-interactive-role: allowmenuitemradioandmenuitemcheckboxon <li>c0733f9@babel/runtime,safe-regex-test0d5321a961817faxe-coreb3559cfobject.entriesto dev deps1be7b70@babel/runtime2a48abb@babel/runtime1adec35v6.8.0Compare Source
Merged
titleattribute oraria-labelattribute instead of accessible child in the "anchor-has-content" rule#727Fixed
aria-activedescendant-has-tabindex: align with changes from #708#924control-has-associated-label: don't accept whitespace as an accessible label#918Commits
eslint-plugin-reactce4d57fes-iterator-helpers52de824mouse-events-have-key-events: addhoverInHandlers/hoverOutHandlersconfigdb64898polymorphicPropNamesetting for polymorphic componentsfffb05bisNonInteractiveElement: Upgrade aria-query to 5.3.0 and axobject-query to 3.2.164bfea6hasowninstead ofhas9a8edde10c061a@babel/cli,@babel/core,@babel/eslint-parser,@babel/plugin-transform-flow-strip-types,@babel/register,aud,eslint-doc-generator,eslint-plugin-import,minimist6d5022d@babel/cli,@babel/core,@babel/eslint-parser,@babel/register,eslint-doc-generator,eslint-plugin-import4dc7f1eanchor-has-content: Allow title attribute OR aria-label attributee6bfd5cmouse-events-have-key-events: rport the attribute, not the nodeeadd70c@babel/runtime,array-includes,array.prototype.flatmap,object.entries,object.fromentries46ffbc3@babel/runtime,axobject-query,jsx-ast-utils,semver5999555aria-queryandaxe-coreto fix failing tests on main8d8f016semverfrom Deps to Dev Deps4da13e7ast-types-flowb755318eslint-plugin-importf1c976blanguage-tags3d1d26dno-static-element-interactions: tabIndex is written tabindex1271153f0d2ddbjackspeaksince 2.1.2+ depends on npm aliases, which kill the install process in npm < 60c278f4jsx-eslint/eslint-plugin-react (eslint-plugin-react)
v7.37.2Compare Source
Fixed
destructuring-assignment]: fix false negative when usingtypeof props.a(#3835 @golopot)Changed
destructuring-assignment]: usegetParentStatelessComponent(#3835 @golopot)v7.37.1[Compare Source](https://redirect.github.com/jsx-eslint/eslint-plugin-react/compar
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, 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.