This repository was archived by the owner on Jun 2, 2023. It is now read-only.
Update dependency eslint to v8 #15
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:
^7.32.0->^8.0.0Release Notes
eslint/eslint
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) (Adam Jones)4a352a9docs: explain how to include predefined globals (#17114) (Marcus Wyatt)5ea15d9docs: add mastodon link in readme (#17110) (唯然)Chores
4053004chore: upgrade @eslint/js@8.40.0 (#17156) (Milos Djermanovic)50fed1dchore: package.json update for @eslint/js release (ESLint Jenkins)4c7a170chore: upgrade @eslint/eslintrc@2.0.3 (#17155) (Milos Djermanovic)e80b7ccchore: upgrade espree@9.5.2 (#17154) (Milos Djermanovic)ce3ac91chore: upgrade eslint-visitor-keys@3.4.1 (#17153) (Milos Djermanovic)9094d79chore: addlatest/tometa.docs.urlin all core rules (#17136) (Milos Djermanovic)d85efadperf: don't usegrapheme-splitteron ASCII strings in key-spacing rule (#17122) (Milos Djermanovic)v8.39.0Compare Source
Features
3f7af9ffeat: ImplementSourceCode#markVariableAsUsed()(#17086) (Nicholas C. Zakas)Documentation
6987dc5docs: Fix formatting in Custom Rules docs (#17097) (Milos Djermanovic)4ee92e5docs: Update README (GitHub Actions Bot)d8e9887docs: Custom Rules cleanup/expansion (#16906) (Ben Perlmutter)1fea279docs: Clarify how to add to tsc agenda (#17084) (Nicholas C. Zakas)970ef1cdocs: Update triage board location (Nicholas C. Zakas)6d8bffddocs: Update README (GitHub Actions Bot)Chores
60a6f26chore: upgrade @eslint/js@8.39.0 (#17102) (Milos Djermanovic)d5ba5c0chore: package.json update for @eslint/js release (ESLint Jenkins)f57eff2ci: run tests on Node.js v20 (#17093) (Nitin Kumar)9d1b8fcperf: Binary search in token storeutils.search(#17066) (Francesco Trotta)07a4435chore: Add request for minimal repro to bug report (#17081) (Nicholas C. Zakas)eac4943refactor: remove unnecessary use ofSourceCode#getAncestorsin rules (#17075) (Milos Djermanovic)0a7b60achore: update description ofSourceCode#getDeclaredVariables(#17072) (Milos Djermanovic)6e2df71chore: remove unnecessary references to the LICENSE file (#17071) (Milos Djermanovic)v8.38.0Compare Source
Features
a1d561dfeat: Move getDeclaredVariables and getAncestors to SourceCode (#17059) (Nicholas C. Zakas)Bug Fixes
1c1ece2fix: do not report onRegExp(...args)inrequire-unicode-regexp(#17037) (Francesco Trotta)Documentation
7162d34docs: Mention new config system is complete (#17068) (Nicholas C. Zakas)0fd6bb2docs: Update README (GitHub Actions Bot)c83531cdocs: Update/remove external links, eg. point toeslint-community(#17061) (Pelle Wessman)a3aa6f5docs: Clarifyno-div-regexrule docs (#17051) (Francesco Trotta)b0f11cfdocs: Update README (GitHub Actions Bot)da8d52adocs: Update the second object instance for the "no-new" rule (#17020) (Ahmadou Waly NDIAYE)518130adocs: switch language based on current path (#16687) (Percy Ma)24206c4docs: Update README (GitHub Actions Bot)Chores
59ed060chore: upgrade @eslint/js@8.38.0 (#17069) (Milos Djermanovic)88c0898chore: package.json update for @eslint/js release (ESLint Jenkins)cf682d2refactor: simplify new-parens rule schema (#17060) (MHO)0dde022ci: bump actions/add-to-project from 0.4.1 to 0.5.0 (#17055) (dependabot[bot])v8.37.0Compare Source
Features
b6ab8b2feat:require-unicode-regexpadd suggestions (#17007) (Josh Goldberg)10022b1feat: Copy getScope() to SourceCode (#17004) (Nicholas C. Zakas)1665c02feat: Use plugin metadata for flat config serialization (#16992) (Nicholas C. Zakas)b3634f6feat: docs license (#17010) (Samuel Roldan)892e6e5feat: languageOptions.parser must be an object. (#16985) (Nicholas C. Zakas)Bug Fixes
619f3fdfix: correctly handlenulldefault config inRuleTester(#17023) (Brad Zacher)1fbf118fix:getFirstToken/getLastTokenon comment-only node (#16889) (Francesco Trotta)129e252fix: Fix typo inlogical-assignment-operatorsrule description (#17000) (Francesco Trotta)Documentation
75339dfdocs: fix typos and missing info in id-match docs (#17029) (Ed Lucas)ec2d830docs: Fix typos in thesemirule docs (#17012) (Andrii Lundiak)e39f28ddocs: add back to top button (#16979) (Tanuj Kanti)721c717docs: Custom Processors cleanup and expansion (#16838) (Ben Perlmutter)d049f97docs: 'How ESLint is Maintained' page (#16961) (Ben Perlmutter)5251a92docs: Describe guard options for guard-for-in (#16986) (alope107)6157d81docs: Add example to guard-for-in docs. (#16983) (alope107)fd47998docs: updateArray.prototype.toSortedspecification link (#16982) (Milos Djermanovic)3e1cf6bdocs: Copy edits on Maintain ESLint docs (#16939) (Ben Perlmutter)Chores
c67f299chore: upgrade @eslint/js@8.37.0 (#17033) (Milos Djermanovic)ee9ddbdchore: package.json update for @eslint/js release (ESLint Jenkins)dddb475chore: upgrade @eslint/eslintrc@2.0.2 (#17032) (Milos Djermanovic)522431echore: upgrade espree@9.5.1 (#17031) (Milos Djermanovic)f5f9a88chore: upgrade eslint-visitor-keys@3.4.0 (#17030) (Milos Djermanovic)4dd8d52ci: bump actions/stale from 7 to 8 (#17026) (dependabot[bot])ad9dd6achore: remove duplicate scss, (#17005) (Strek)ada6a3eci: unpin Node 19 (#16993) (Milos Djermanovic)c3da975chore: Remove triage label from template (#16990) (Nicholas C. Zakas)69bc0e2ci: pin Node 19 to 19.7.0 (#16987) (Milos Djermanovic)v8.36.0Compare Source
Features
c89a485feat: AddcheckJSDocoption to multiline-comment-style (#16807) (Laurent Cozic)f5f5e11feat: Serialize parsers/processors in flat config (#16944) (Nicholas C. Zakas)4799297feat: use @eslint-community dependencies (#16784) (Michaël De Boey)Bug Fixes
92c1943fix: correctly iterate files matched by glob patterns (#16831) (Nitin Kumar)Documentation
b98fdd4docs: Update README (GitHub Actions Bot)caf08cedocs: fix estree link in custom formatters docs (#16967) (Milos Djermanovic)3398431docs: Custom Parsers cleanup/expansion (#16887) (Ben Perlmutter)19d3531docs: Update README (GitHub Actions Bot)b09a512docs: detect and fix broken links (#16837) (Nitin Kumar)Chores
602b111chore: upgrade @eslint/js@8.36.0 (#16978) (Milos Djermanovic)43c2345chore: package.json update for @eslint/js release (ESLint Jenkins)00afb84chore: upgrade @eslint/eslintrc@2.0.1 (#16977) (Milos Djermanovic)698c5aachore: upgrade espree@9.5.0 (#16976) (Milos Djermanovic)75acdd2chore: lint more js files in docs (#16964) (Milos Djermanovic)89d9844ci: bump actions/add-to-project from 0.4.0 to 0.4.1 (#16943) (dependabot[bot])v8.35.0Compare Source
Features
8e34a04feat: addafterHashbangCommentoption tolines-around-commentrule (#16920) (SUZUKI Sosuke)c8c0c71feat: Move all and recommended configs into package. (#16844) (Nicholas C. Zakas)71f6f0dfeat: report more cases with??in no-constant-binary-expression (#16826) (Daiki Nishikawa)Bug Fixes
9698bc5fix: pin esquery v1.4.0 (fixes #16896) (#16897) (唯然)Documentation
f9f195edocs: Plugin docs cleanup & expansion (#16862) (Ben Perlmutter)df809fddocs: Custom Formatters page cleanup/expansion (#16886) (Ben Perlmutter)0700d1bdocs: Add PostCSS/Autoprefixer/CSSNano (#16502) (Nick Schonning)7b9e9bfdocs: support unicode anchors (#16782) (Percy Ma)5fbc0bfdocs: Update README (GitHub Actions Bot)67865a0docs: Remove mention of mailing list (#16869) (Amaresh S M)43af24adocs: Add explanation of when to use 'warn' severity (#16882) (Nicholas C. Zakas)ed2999bdocs: Shareable configs page edits and expansion (#16824) (Ben Perlmutter)2780635docs: fix typos (#16884) (Lioness100)5bdaae2docs: Ways to Extend ESLint page (#16861) (Ben Perlmutter)Chores
cdcbe12chore: upgrade @eslint/js@8.35.0 (#16935) (Brandon Mills)c954c34chore: package.json update for @eslint/js release (ESLint Jenkins)5a517dachore: package.json update for @eslint/js release (ESLint Jenkins)9f10926chore: upgrade @eslint/eslintrc@2.0.0 (#16928) (Milos Djermanovic)da728faci: use LTS node version in workflows (#16907) (Nitin Kumar)c57b4f3perf: upgrade to esquery@1.4.2 (#16901) (Milos Djermanovic)9122f07chore: Update stale bot settings (#16870) (Nicholas C. Zakas)v8.34.0Compare Source
Features
9b2fcf7feat:array-callback-returnsupportsArray.prototype.toSorted(#16845) (SUZUKI Sosuke)Bug Fixes
923f61dfix: false positive with assignment inno-extra-parens(#16872) (Francesco Trotta)Documentation
f0a9883docs: split rules documentation (#16797) (Ben Perlmutter)67aa37bdocs: fix typo in command-line-interface.md (#16871) (Kevin Rouchut)337f7eddocs: fix width of language input (#16849) (Tanuj Kanti)71349a1docs: Configure a Parser page (#16803) (Ben Perlmutter)de7e925docs: remove extra line numbers in example (#16848) (jonz94)ad38d77docs: Update README (GitHub Actions Bot)Chores
9dbe06dchore: addtypeproperty to array-element-newline schema (#16877) (MHO)a061527chore: Remove unused functions (#16868) (Nicholas C. Zakas)v8.33.0Compare Source
Features
2cc7954feat: addrestrictDefaultExportsoption to no-restricted-exports rule (#16785) (Nitin Kumar)Documentation
17f4be2docs: Fix examples in no-multiple-empty-lines rule (#16835) (jonz94)9c7cfe3docs: 'Source Code' content in 'Set up Development Environment' page (#16780) (Ben Perlmutter)ede5c64docs: Custom processors page (#16802) (Ben Perlmutter)2620614docs: Code of Conduct page (#16781) (Ben Perlmutter)50a8efddocs: report a sec vulnerability page (#16808) (Ben Perlmutter)ed60afddocs: Update page titles, section landing pages, and side TOC (#16760) (Ben Perlmutter)333c712docs: add background to code-path-diagrams for dark-mode (#16822) (Tanuj Kanti)f5f7b9bdocs: Update README (GitHub Actions Bot)2aa4f5fdocs: no-constant-condition: Add multi-comparison example (#16776) (Sebastian Simon)40287dbdocs: Remove Google Group icon (#16779) (Nicholas C. Zakas)ea10ca5docs: 'a .eslint' -> 'an .eslint' for consistency (#16809) (Ben Perlmutter)3be0748docs: add example for nodejs lintText api (#16789) (Siva K)ce4f5ffdocs: Replace removed related rules with a valid rule (#16800) (Ville Saalo)v8.32.0Compare Source
Features
fc20f24feat: add suggestions for redundant wrapping in prefer-regex-literals (#16658) (YeonJuan)Bug Fixes
b4f8329fix: ignore directives for no-fallthrough (#16757) (gfyoung)Documentation
17b65addocs: IA Update page URL move (#16665) (Ben Perlmutter)5981296docs: fix theme switcher button (#16752) (Sam Chen)6669413docs: deploy prerelease docs under the/docs/next/path (#16541) (Nitin Kumar)78ecfe0docs: use inline code for rule options name (#16768) (Percy Ma)fc2ea59docs: Update README (GitHub Actions Bot)762a872docs: Update README (GitHub Actions Bot)Chores
2952d6echore: sync templates/*.md files with issue templates (#16758) (gfyoung)3e34418chore: Add new issues to triage project (#16740) (Nicholas C. Zakas)v8.31.0Compare Source
Features
52c7c73feat: check assignment patterns in no-underscore-dangle (#16693) (Milos Djermanovic)b401cdefeat: add options to check destructuring in no-underscore-dangle (#16006) (Morten Kaltoft)30d0daffeat: group properties with values in parentheses inkey-spacing(#16677) (Francesco Trotta)Bug Fixes
35439f1fix: correct syntax error inprefer-arrow-callbackautofix (#16722) (Francesco Trotta)87b2470fix: new instance of FlatESLint should load latest config file version (#16608) (Milos Djermanovic)Documentation
4339dc4docs: Update README (GitHub Actions Bot)4e4049cdocs: optimize code block structure (#16669) (Sam Chen)54a7adedocs: do not escape code blocks of formatters examples (#16719) (Sam Chen)e5ecfefdocs: Add function call example for no-undefined (#16712) (Elliot Huffman)a3262f0docs: Add mastodon link (#16638) (Amaresh S M)a14ccf9docs: clarify files property (#16709) (Sam Chen)3b29eb1docs: fix npm link (#16710) (Abdullah Osama)a638673docs: fix search bar focus onEsc(#16700) (Shanmughapriyan S)f62b722docs: country flag missing in windows (#16698) (Shanmughapriyan S)4d27ec6docs: display zh-hans in the docs language switcher (#16686) (Percy Ma)8bda20edocs: remove manually maintained anchors (#16685) (Percy Ma)b68440fdocs: User Guide Getting Started expansion (#16596) (Ben Perlmutter)Chores
65d4e24chore: Upgrade @eslint/eslintrc@1.4.1 (#16729) (Brandon Mills)8d93081chore: fix CI failure (#16721) (Sam Chen)8f17247chore: Set up automatic updating of README (#16717) (Nicholas C. Zakas)4cd87cbci: bump actions/stale from 6 to 7 (#16713) (dependabot[bot])fd20c75chore: sort package.json scripts in alphabetical order (#16705) (Darius Dzien)10a5c78chore: update ignore patterns ineslint.config.js(#16678) (Milos Djermanovic)v8.30.0Compare Source
Features
075ef2cfeat: add suggestion for no-return-await (#16637) (Daniel Bartholomae)7190d98feat: update globals (#16654) (Sébastien Règne)Bug Fixes
1a327aafix: Ensure flat config unignores work consistently like eslintrc (#16579) (Nicholas C. Zakas)9b8bb72fix: autofix recursive functions in no-var (#16611) (Milos Djermanovic)Documentation
6a8cd94docs: Clarify Discord info in issue template config (#16663) (Nicholas C. Zakas)ad44344docs: CLI documentation standardization (#16563) (Ben Perlmutter)293573edocs: fix broken line numbers (#16606) (Sam Chen)fa2c64bdocs: use relative links for internal links (#16631) (Percy Ma)75276c9docs: reorder options in no-unused-vars (#16625) (Milos Djermanovic)7276fe5docs: Fix anchor in URL (#16628) (Karl Horky)6bef135docs: don't apply layouts to html formatter example (#16591) (Tanuj Kanti)dfc7ec1docs: Formatters page updates (#16566) (Ben Perlmutter)8ba124cdocs: update theprefer-constexample (#16607) (Pavel)e6cb05adocs: fix css leaking (#16603) (Sam Chen)Chores
f2c4737chore: upgrade @eslint/eslintrc@1.4.0 (#16675) (Milos Djermanovic)ba74253chore: standardize npm script names per #14827 (#16315) (Patrick McElhaney)0d9af4cci: fix npm v9 problem withfile:(#16664) (Milos Djermanovic)90c9219refactor: migrate off deprecated function-style rules in all tests (#16618) (Bryan Mishkin)v8.29.0Compare Source
Features
49a07c5feat: addallowParensAfterCommentPatternoption to no-extra-parens (#16561) (Nitin Kumar)e6a865dfeat:prefer-named-capture-groupadd suggestions (#16544) (Josh Goldberg)a91332bfeat: In no-invalid-regexp validate flags also for non-literal patterns (#16583) (trosos)Documentation
0311d81docs: Configuring Plugins page intro, page tweaks, and rename (#16534) (Ben Perlmutter)57089b1docs: add a property assignment example for camelcase rule (#16605) (Milos Djermanovic)b6ab030docs: add docs codeowners (#16601) (Strek)6380c87docs: fix sitemap and feed (#16592) (Milos Djermanovic)ade621ddocs: perf debounce the search query (#16586) (Shanmughapriyan S)fbcf3abdocs: fix searchbar clear button (#16585) (Shanmughapriyan S)f894035docs: HTTPS link to yeoman.io (#16582) (Christian Oliff)de12b26docs: Update configuration file pages (#16509) (Ben Perlmutter)1ae9f20docs: update correct code examples forno-extra-parensrule (#16560) (Nitin Kumar)Chores
7628403chore: add discord channel link (#16590) (Amaresh S M)f5808cbchore: fix rule doc headers check (#16564) (Milos Djermanovic)v8.28.0Compare Source
Features
63bce44feat: addignoreClassFieldInitialValuesoption to no-magic-numbers (#16539) (Milos Djermanovic)8385ecdfeat: multiline properties in rulekey-spacingwith optionalign(#16532) (Francesco Trotta)a4e89dbfeat:no-obj-callssupportIntl(#16543) (Sosuke Suzuki)Bug Fixes
c50ae4ffix: Ensure that dot files are found with globs. (#16550) (Nicholas C. Zakas)9432b67fix: throw error for first unmatched pattern (#16533) (Milos Djermanovic)e76c382fix: allow* 1when followed by/in no-implicit-coercion (#16522) (Milos Djermanovic)Documentation
34c05a7docs: Language Options page intro and tweaks (#16511) (Ben Perlmutter)3e66387docs: add intro and edit ignoring files page (#16510) (Ben Perlmutter)436f712docs: fix Header UI inconsistency (#16464) (Tanuj Kanti)f743816docs: switch to wrench emoji for auto-fixable rules (#16545) (Bryan Mishkin)bc0547edocs: improve styles for versions and languages page (#16553) (Nitin Kumar)6070f58docs: clarify esquery issue workaround (#16556) (Milos Djermanovic)b48e4f8docs: Command Line Interface intro and tweaks (#16535) (Ben Perlmutter)b92b30fdocs: Add Rules page intro and content tweaks (#16523) (Ben Perlmutter)1769b42docs: Integrations page introduction (#16548) (Ben Perlmutter)a8d0a57docs: make table of contents sticky on desktop (#16506) (Sam Chen)a01315adocs: fix route of japanese translation site (#16542) (Tanuj Kanti)0515628docs: use emoji instead of svg for deprecated rule (#16536) (Bryan Mishkin)68f1288docs: set default layouts (#16484) (Percy Ma)776827adocs: init config about specifying shared configs (#16483) (Percy Ma)5c39425docs: fix broken link to plugins (#16520) (Ádám T. Nagy)c97c789docs: Add missing no-new-native-nonconstructor docs code fence (#16503) (Brandon Mills)Chores
e94a4a9chore: Add tests to verify #16038 is fixed (#16538) (Nicholas C. Zakas)e13f194chore: stricter validation ofmeta.docs.descriptionin core rules (#16529) (Milos Djermanovic)72dbfbcchore: usepkgparameter ingetNpmPackageVersion(#16525) (webxmsj)v8.27.0Compare Source
Features
f14587cfeat: newno-new-native-nonconstructorrule ([#16368](https://togithub.com/eslint/eslint/issues/1636Configuration
📅 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.