Update dependency eslint to v8 #31
Open
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:
6.5.1->8.53.0Release Notes
eslint/eslint (eslint)
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)v8.52.0Compare Source
Features
70648eefeat: report-unused-disable-directive to report unused eslint-enable (#17611) (Yosuke Ota)Bug Fixes
5de9637fix: Ensure shared references in rule configs are separated (#17666) (Nicholas C. Zakas)dcfe573fix: add preceding semicolon in suggestions ofno-object-constructor(#17649) (Francesco Trotta)Documentation
476d58adocs: Add note about invalid CLI flags when using flat config. (#17664) (Nicholas C. Zakas)660ed3adocs: Plugin flat config migration guide (#17640) (Nicholas C. Zakas)a58aa20docs: fix examples for several rules (#17645) (Milos Djermanovic)179929bdocs: Remove trailing newline from the code of Playground links (#17641) (Francesco Trotta)f8e5c30docs: Update README (GitHub Actions Bot)b7ef2f3docs: Enable pretty code formatter output (#17635) (Nicholas C. Zakas)0bcb9a8docs: Fix syntax errors in rule examples (#17633) (Francesco Trotta)61b9083docs: Make no-continue example code work (#17643) (Zhongyuan Zhou)9fafe45docs: upgrade to 11ty 2.0 (#17632) (Percy Ma)ff8e4bfdocs: Update README (GitHub Actions Bot)fab249adocs: Update README (GitHub Actions Bot)392305bdocs: Updateno-irregular-whitespaceand fix examples (#17626) (Francesco Trotta)6b8acfbdocs: Add real whitespace tono-trailing-spacesexamples (#17630) (Francesco Trotta)1000187docs: Fix examples inunicode-bom(#17631) (Francesco Trotta)000290cdocs: Update README (GitHub Actions Bot)Chores
6d1f0c2chore: upgrade @eslint/js@8.52.0 (#17671) (Milos Djermanovic)d63d4fechore: package.json update for @eslint/js release (ESLint Jenkins)f30cefetest: fix FlatESLint tests for caching (#17658) (Milos Djermanovic)ef650cbtest: update tests for no-promise-executor-return (#17661) (Milos Djermanovic)v8.51.0Compare Source
Features
0a9c433feat: Add--no-warn-ignoredCLI option for flat config (#17569) (Domantas Petrauskas)977e67efeat: logical-assignment-operators to report expressions with 3 operands (#17600) (Yosuke Ota)Bug Fixes
f976b2ffix: make rule severity case-sensitive in flat config (#17619) (Milos Djermanovic)0edfe36fix: Ensure crash error messages are not duplicated (#17584) (Nicholas C. Zakas)dd79abcfix:eslint-disableto be able to parse quoted rule names (#17612) (Yosuke Ota)d2f6801fix: Ensure correct code path for && followed by ?? (#17618) (Nicholas C. Zakas)Documentation
ee5be81docs: default tosourceType: "module"in rule examples (#17615) (Francesco Trotta)1aa26dfdocs: Add more examples for multiline-ternary (#17610) (George Ashiotis)47d0b44docs: Update README (GitHub Actions Bot)dbf831edocs: use generated og image (#17601) (Percy Ma)1866da5docs: Update README (GitHub Actions Bot)Chores
1ef39eachore: upgrade @eslint/js@8.51.0 (#17624) (Milos Djermanovic)f8c7403chore: package.json update for @eslint/js release (ESLint Jenkins)2665552test: fix flat config linter tests to use Linter in flat config mode (#17616) (Milos Djermanovic)7b77bccchore: Refactor CodePathState (#17510) (Nicholas C. Zakas)bc77c9achore: Document and refactor ForkContext (#17566) (Nicholas C. Zakas)24e1f14chore: Refactor and document CodePath (#17558) (Nicholas C. Zakas)v8.50.0Compare Source
Features
27d5a9efeat: add suggestions to array-callback-return (#17590) (Tanuj Kanti)f9082fffeat: flat-rule-tester make sure default config always matches (#17585) (fnx)83914adfeat: Implement SourceCode#applyInlineConfig() (#17351) (Nicholas C. Zakas)22a5582feat: add ruleno-object-constructor, deprecateno-new-object(#17576) (Francesco Trotta)85a3d9efeat: allowVoid option in array-callback-return (#17564) (Tanuj Kanti)Bug Fixes
cc4d26bfix: Ensure deprecated context.parserServices warns (#17593) (Nicholas C. Zakas)1ea4cfbfix: Ensure all RuleTester tests all deprecated context methods (#17587) (Nicholas C. Zakas)aa1b657fix: wrong suggestion and message inno-misleading-character-class(#17571) (Yosuke Ota)Documentation
1800537docs: Fix and standardize JSX code examples (#17591) (Francesco Trotta)48a44a7docs: Add correct/incorrect tags toprefer-arrow-callback(#17589) (Francesco Trotta)20893d4docs: fix incorrect tag's place (#17575) (Tanuj Kanti)bd7a71fdocs: Update README (GitHub Actions Bot)Chores
f8a8a2dchore: upgrade @eslint/js@8.50.0 (#17599) (Milos Djermanovic)38ada6dchore: package.json update for @eslint/js release (ESLint Jenkins)v8.49.0Compare Source
Features
da09f4efeat: Implement onUnreachableCodePathStart/End (#17511) (Nicholas C. Zakas)32b2327feat: Emit deprecation warnings in RuleTester (#17527) (Nicholas C. Zakas)acb7df3feat: add newenforceoption tolines-between-class-members(#17462) (Nitin Kumar)Documentation
ecfb54fdocs: Update README (GitHub Actions Bot)de86b3bdocs: updateno-promise-executor-returnexamples (#17529) (Nitin Kumar)032c4b1docs: add typescript template (#17500) (James)cd7da5cdocs: Update README (GitHub Actions Bot)Chores
b7621c3chore: remove browser test fromnpm test(#17550) (Milos Djermanovic)cac45d0chore: upgrade @eslint/js@8.49.0 (#17549) (Milos Djermanovic)cd39508chore: package.json update for @eslint/js release (ESLint Jenkins)203a971ci: bump actions/checkout from 3 to 4 (#17530) (dependabot[bot])a40fa50chore: use eslint-plugin-jsdoc's flat config (#17516) (Milos Djermanovic)926a286test: replace Karma with Webdriver.IO (#17126) (Christian Bromann)f591d2cchore: Upgrade config-array (#17512) (Nicholas C. Zakas)v8.48.0Compare Source
Features
1fbb3b0feat: correct update direction infor-direction(#17483) (Francesco Trotta)d73fbf2feat: rule tester do not create empty valid or invalid test suites (#17475) (fnx)ee2f718feat: Allowvoidin ruleno-promise-executor-return(#17282) (nopeless)Bug Fixes
7234f6afix: update RuleTester JSDoc and deprecations (#17496) (Jonas Berlin)Documentation
7a51d77docs: no-param-reassign mention strict mode (#17494) (Stephen Hardy)9cd7ac2docs: addfetchscript to package.json conventions (#17459) (Nitin Kumar)cab21e6docs: advice for inline disabling of rules (#17458) (Ashish Yadav)056499ddocs: fix example of flat config from plugin (#17482) (Francesco Trotta)9e9edf9docs: update documentation URL in error message (#17465) (Nitin Kumar)Chores
8dd3cecchore: upgrade @eslint/js@8.48.0 (#17501) (Milos Djermanovic)6d0496echore: package.json update for @eslint/js release (ESLint Jenkins)9d4216dchore: Refactor and document CodePathSegment (#17474) (Nicholas C. Zakas)v8.47.0Compare Source
Features
53d7508feat: update regex for methods withthisArg(#17439) (Francesco Trotta)Bug Fixes
631648efix: do not report on shadowed constructors inno-new-wrappers(#17447) (Francesco Trotta)Documentation
a766a48docs: document lack of config file names (#17442) (James)a1635d6docs: Update README (GitHub Actions Bot)47a0859docs: updaterequire-unicode-regexp.mdas following up #17402 (#17441) (SUZUKI Sosuke)fcdc85ddocs: Update README (GitHub Actions Bot)2a92b6cdocs: update with "Specifying Parser Options" (#17435) (Cheol-Won)d743ed3docs: add metadata for parser/processor (#17438) (Huáng Jùnliàng)224376cdocs: Update README (GitHub Actions Bot)a41a8e4docs: update script names in README (#17432) (Nitin Kumar)Chores
bf69aa6chore: Update dependencies (#17456) (Nicholas C. Zakas)0e45760chore: package.json update for @eslint/js release (ESLint Jenkins)757bfe1chore: Remove add-to-triage (#17450) (Nicholas C. Zakas)b066640chore: standardize npm script names (#17431) (Nitin Kumar)6b2410fchore: Update add-to-triage.yml (#17444) (Nicholas C. Zakas)v8.46.0Compare Source
Features
8a93438feat:require-unicode-regexpsupportvflag (#17402) (SUZUKI Sosuke)1a2f966feat:no-useless-escapesupportvflag (#17420) (Yosuke Ota)ee68d1dfeat:no-empty-character-classsupportvflag (#17419) (Milos Djermanovic)853d32bfeat: deprecate no-return-await (#17417) (Carlos Lopez)d4f02e4feat:no-control-regexsupportvflag (#17405) (Yosuke Ota)2a35f3efeat:prefer-named-capture-groupsupportvflag (#17409) (Yosuke Ota)8ca8b50feat: Better error message for flat config plugins (#17399) (Nicholas C. Zakas)509f753feat:no-misleading-character-classsupportvflag (#17406) (Yosuke Ota)3caf514feat:no-regex-spacessupportvflag (#17407) (Yosuke Ota)b7fad2bfeat:prefer-regex-literalssupportvflag (#17410) (Yosuke Ota)a6a3ad4feat:no-useless-backreferencesupportvflag (#17408) (Yosuke Ota)94954a7feat:no-invalid-regexpsupportvflag (#17404) (Yosuke Ota)1af6eacfeat: adds option for allowing empty object patterns as parameter (#17365) (Tanuj Kanti)cf03104feat: Improve config error messages (#17385) (Nicholas C. Zakas)Bug Fixes
9803c7cfix: FlatESLint#getRulesMetaForResults shouldn't throw on unknown rules (#17393) (Milos Djermanovic)42faa17fix: Update no-loop-func to not overlap with no-undef (#17358) (Matt Wilkinson)Documentation
4d474e3docs: update with TypeScript info (#17423) (James)091f44edocs: File extension named processor deprecation (#17362) (Matt Wilkinson)9254a6cdocs: Update README (GitHub Actions Bot)6d6dc51docs: fix overlapping ofopen in playgroundbutton (#17403) (Tanuj Kanti)7fc3a2cdocs: Add private class features info to no-underscore-dangle (#17386) (Matt Wilkinson)da73e58docs: Migratingeslint-envconfiguration comments (#17390) (Francesco Trotta)80dffeddocs: fix Ignoring Files section in config migration guide (#17392) (Milos Djermanovic)8a9abb7docs: Update README (GitHub Actions Bot)7e9be4bdocs: Update README (GitHub Actions Bot)0b0bbe0docs: Update README (GitHub Actions Bot)Chores
d1eb7e4chore: Update ecosystem dependencies (#17427) (Nicholas C. Zakas)fab9e97chore: package.json update for eslint-config-eslint release (ESLint Jenkins)6246711chore: package.json update for @eslint/js release (ESLint Jenkins)0aa0bc3chore: Add PRs to triage project (#17421) (Nicholas C. Zakas)v8.45.0Compare Source
Features
cdd063cfeat: Expose LegacyESLint in unsupported API (#17341) (Nicholas C. Zakas)d34abe5feat: fix indent rule for else-if (#17318) (Milos Djermanovic)Bug Fixes
b79b6fbfix: Fix suggestion message inno-useless-escape(#17339) (Francesco Trotta)c667055fix: provide uniquefixandfix.rangeobjects in lint messages (#17332) (Milos Djermanovic)Documentation
89f3225docs: add playground links to correct and incorrect code blocks (#17306) (Josh Goldberg ✨)f8892b5docs: Expand rule option schema docs (#17198) (Matt Wilkinson)8bcbf11docs: Config Migration Guide (#17230) (Ben Perlmutter)bb30908docs: Update README (GitHub Actions Bot)84d243bdocs: Update README (GitHub Actions Bot)b762632docs: Update README (GitHub Actions Bot)138c096docs: add more prefer-destructuring examples with array destructuring (#17330) (Milos Djermanovic)1fc50a8docs:max-lenrulecodeandtabWidthas positional arguments (#17331) (Jesús Leganés-Combarro)Chores
68f63d7chore: package.json update for @eslint/js release (ESLint Jenkins)5ca9b4dchore: update eslint-config-eslint exports (#17336) (Milos Djermanovic)7bf2e86chore: remove unused dependencies (#17352) (Percy Ma)c6f8cd0chore: RemovedefaultIgnoresfrom FlatESLint private members (#17349) (Francesco Trotta)0052374chore: move jsdoc settings to eslint-config-eslint (#17338) (唯然)v8.44.0Compare Source
Features
1766771feat: addes2023andes2024environments (#17328) (Milos Djermanovic)4c50400feat: addecmaVersion: 2024, regexpvflag parsing (#17324) (Milos Djermanovic)4d411e4feat: add ternaryOperandBinaryExpressions option to no-extra-parens rule (#17270) (Percy Ma)c8b1f4dfeat: MoveparserServicestoSourceCode(#17311) (Milos Djermanovic)ef6e24efeat: treat unknown nodes as having the lowest precedence (#17302) (Brad Zacher)1866e1dfeat: allow flat config files to export a Promise (#17301) (Milos Djermanovic)Bug Fixes
a36bcb6fix: no-unused-vars false positive with logical assignment operators (#17320) (Gweesin Chan)7620b89fix: Removeno-unused-labelsautofix before potential directives (#17314) (Francesco Trotta)391ed38fix: Removeno-extra-semiautofix before potential directives (#17297) (Francesco Trotta)Documentation
526e911docs: resubmit pr 17115 doc changes (#17291) (唯然)e1314bfdocs: Integration section and tutorial (#17132) (Ben Perlmutter)19a8c5ddocs: Update README (GitHub Actions Bot)Chores
49e46edchore: upgrade @eslint/js@8.44.0 (#17329) (Milos Djermanovic)a1cb642chore: package.json update for @eslint/js release (ESLint Jenkins)840a264test: More test cases for no-case-declarations (#17315) (Elian Cordoba)e6e74f9chore: package.json update for eslint-config-eslint release (ESLint Jenkins)eb3d794chore: upgrade semver@7.5.3 (#17323) (Ziyad El Abid)cf88439chore: upgrade optionator@0.9.3 (#17319) (Milos Djermanovic)9718a97refactor: remove unnecessary code inflat-eslint.js(#17308) (Milos Djermanovic)f82e56eperf: various performance improvements (#17135) (moonlightaria)da81e66chore: update eslint-plugin-jsdoc to 46.2.5 (#17245) (唯然)b991640chore: switch eslint-config-eslint to the flat format (#17247) (唯然)v8.43.0Compare Source
Features
14581fffeat: directive prologue detection and autofix condition inquotes(#17284) (Francesco Trotta)e50fac3feat: add declaration loc to message in block-scoped-var (#17252) (Milos Djermanovic)1b7faf0feat: addskipJSXTextoption tono-irregular-whitespacerule (#17182) (Azat S)Bug Fixes
5338b56fix: normalizecwdpassed toESLint/FlatESLintconstructor (#17277) (Milos Djermanovic)54383e6fix: Removeno-extra-parensautofix for potential directives (#17022) (Francesco Trotta)Documentation
8b855eadocs: resubmit pr17061 doc changes (#17292) (唯然)372722edocs: resubmit pr17012 doc changes (#17293) (唯然)67e7af3docs: resubmit custom-rules doc changes (#17294) (唯然)9e3d77cdocs: Resubmit Fix formatting in Custom Rules docs (#17281) (Milos Djermanovic)503647adocs: Resubmit markVariableAsUsed docs (#17280) (Nicholas C. Zakas)e0cf0d8docs: Custom rule & plugin tutorial (#17024) (Ben Perlmutter)8e51ea9docs: resubmitno-newrule documentation (#17264) (Nitin Kumar)1b217f8docs: resubmitCustom Processorsdocumentation (#17265) (Nitin Kumar)428fc76docs: resubmitCreate Pluginsdocumentation (#17268) (Nitin Kumar)bdca88cdocs: resubmitConfiguration Filesdocumentation (#17267) (Nitin Kumar)f5c01f2docs: resubmitManage Issuesdocumentation (#17266) (Nitin Kumar)b199295docs: Resubmit custom rules update docs (#17273) (Ben Perlmutter)0e9980cdocs: add newomitLastInOneLineClassBodyoption to thesemirule (#17263) (Nitin Kumar)cb2560fdocs: Resubmit getScope/getDeclaredVariables docs (#17262) (Nicholas C. Zakas)85d2b30docs: explain how to include predefined globals (#17261) (Marcus Wyatt)de4d3c1docs: update flat config default ignore patterns (#17258) (Milos Djermanovic)3912f3adocs: Improveignoresdocumentation (#17239) (Francesco Trotta)35e11d3docs: fix typos and missing info (#17257) (Ed Lucas)0bc257cdocs: Clarifyno-div-regexrule docs (#17051) (#17255) (Francesco Trotta)788d836docs: add references to MIT License (#17248) (Milos Djermanovic)58aab6bdocs: Update README (GitHub Actions Bot)3ef5814docs: Revert all changes after the license change (#17227) (Milos Djermanovic)03fc4aadocs: Update README (GitHub Actions Bot)Chores
78350f6chore: upgrade @eslint/js@8.43.0 (#17295) (Milos Djermanovic)62bf759chore: package.json update for @eslint/js release (ESLint Jenkins)e0a2448chore: docs package.license ISC => MIT (#17254) (唯然)6a0196cchore: use eslint-plugin-eslint-plugin flat configs (#17204) (Milos Djermanovic)v8.42.0Compare Source
Features
b8448fffeat: correct no-useless-return behaviour in try statements (#16996) (Nitin Kumar)Bug Fixes
a589636fix: Config withignoresand withoutfilesshould not always apply (#17181) (Milos Djermanovic)c4fad17fix: Correct ignore message for "node_modules" subfolders (#17217) (Francesco Trotta)Documentation
01d7142docs: Update README (GitHub Actions Bot)e5182b7docs: Update README (GitHub Actions Bot)Chores
6ca5b7cchore: upgrade @eslint/js@8.42.0 (#17236) (Milos Djermanovic)67fc5e7chore: package.json update for @eslint/js release (ESLint Jenkins)0892412refactor: removeIdentifierlistener in no-irregular-whitespace (#17235) (Milos Djermanovic)f67d298test: AddFlatESLinttests with missing config files (#17164) (Milos Djermanovic)5b68d51chore: Fixfixedsizeattribute in code path analysis DOT debug output (#17202) (Milos Djermanovic)37432f2chore: update descriptions in key-spacing tests (#17195) (Milos Djermanovic)v8.41.0Compare Source
Features
880a431feat: change default ignore pattern to**/node_modules/in flat config (#17184) (Milos Djermanovic)8bf5505feat: exposeshouldUseFlatConfig(#17169) (Connor Prussin)Bug Fixes
4f5440dfix: incorrect warning message for ignored dotfiles (#17196) (Milos Djermanovic)94da96cfix: unifyLintMessagetype (#17076) (Brandon Mills)0c415cdfix: validateignorePatternsconstructor option inFlatESLintclass (#17139) (Milos Djermanovic)9682d66fix: switchgrapheme-splittertographemer(#17160) (fisker Cheung)Documentation
7709b14docs: Update README (GitHub Actions Bot)7f183e0docs: Update triage process description (#17157) (Nicholas C. Zakas)b68346bdocs: fix license to reflect relicensing of jshint (#17165) (Stefan Bischof)Chores
f43216achore: upgrade @eslint/js@8.41.0 (#17200) (Milos Djermanovic)95c3007chore: package.json update for @eslint/js release (ESLint Jenkins)ddc5291chore: don't use deprecatedcontextmethods inast-utilstests (#17194) (Milos Djermanovic)b1516dbchore: Fix return type offindFlatConfigFile(#17161) (Milos Djermanovic)918b0fdperf: Store indent descriptors in a plain array (#17148) (Francesco Trotta)4caa344refactor: locateConfigFileToUse returns an Error object (#17159) (唯然)v8.40.0Compare Source
Features
5db7808feat: improve flat config errors for invalid rule options and severities (#17140) (Josh Goldberg ✨)f5574dcfeat: Add findConfigFile() method to FlatESLint (#17142) (Nicholas C. Zakas)e52b98bfeat: addsourceCodeproperty to the rule context (#17107) (Nitin Kumar)1468f5bfeat: addphysicalFilenameproperty to the rule context (#17111) (Nitin Kumar)0df4d4ffeat: addcwdto rule context (#17106) (Nitin Kumar)52018f2feat: addfilenameproperty to the rule context (#17108) (Nitin Kumar)559ff4efeat: add newomitLastInOneLineClassBodyoption to thesemirule (#17105) (Nitin Kumar)Bug Fixes
f076e54fix: Ensure FlatESLint#findConfigFile() doesn't throw. (#17151) (Nicholas C. Zakas)Documentation
e980bf3docs: Update README (GitHub Actions Bot)e92a6fcdocs: Update README (GitHub Actions Bot)af5fe64docs: Fix custom rule schema docs ([#17115](httConfiguration
📅 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.
This PR has been generated by Mend Renovate. View repository job log here.