Closed renovate[bot] closed 1 year ago
This PR contains the following updates:
8.38.0
8.42.0
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.
This PR contains the following updates:
8.38.0
->8.42.0
Release Notes
eslint/eslint
### [`v8.42.0`](https://togithub.com/eslint/eslint/releases/tag/v8.42.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.41.0...v8.42.0) #### Features - [`b8448ff`](https://togithub.com/eslint/eslint/commit/b8448ff1ae1adf26a81dea07f340caa5b5c2f257) feat: correct no-useless-return behaviour in try statements ([#16996](https://togithub.com/eslint/eslint/issues/16996)) (Nitin Kumar) #### Bug Fixes - [`a589636`](https://togithub.com/eslint/eslint/commit/a5896360c3faa1e7d1fe81a9907a434b8b8f6b60) fix: Config with `ignores` and without `files` should not always apply ([#17181](https://togithub.com/eslint/eslint/issues/17181)) (Milos Djermanovic) - [`c4fad17`](https://togithub.com/eslint/eslint/commit/c4fad173c7149dbcd25695c19c68663102b9ec6b) fix: Correct ignore message for "node_modules" subfolders ([#17217](https://togithub.com/eslint/eslint/issues/17217)) (Francesco Trotta) #### Documentation - [`01d7142`](https://togithub.com/eslint/eslint/commit/01d7142642c87241135699571e8010f5e8fcda4f) docs: Update README (GitHub Actions Bot) - [`e5182b7`](https://togithub.com/eslint/eslint/commit/e5182b723ff82bb3b55c50c06d64626055414b31) docs: Update README (GitHub Actions Bot) #### Chores - [`6ca5b7c`](https://togithub.com/eslint/eslint/commit/6ca5b7ca3bac9e10c6cfee4cdc78446e94eb7607) chore: upgrade [@eslint/js](https://togithub.com/eslint/js)[@8](https://togithub.com/8).42.0 ([#17236](https://togithub.com/eslint/eslint/issues/17236)) (Milos Djermanovic) - [`67fc5e7`](https://togithub.com/eslint/eslint/commit/67fc5e730e4dfc372dea11e15d3f5165bc812491) chore: package.json update for [@eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`0892412`](https://togithub.com/eslint/eslint/commit/0892412556b2ba6c3d1b85152dafe47a3f4cba72) refactor: remove `Identifier` listener in no-irregular-whitespace ([#17235](https://togithub.com/eslint/eslint/issues/17235)) (Milos Djermanovic) - [`f67d298`](https://togithub.com/eslint/eslint/commit/f67d2984c3c3f26497842a04d5166707587c1fca) test: Add `FlatESLint` tests with missing config files ([#17164](https://togithub.com/eslint/eslint/issues/17164)) (Milos Djermanovic) - [`5b68d51`](https://togithub.com/eslint/eslint/commit/5b68d51e3e6bd003d6cf74d3434f7165691b4f4d) chore: Fix `fixedsize` attribute in code path analysis DOT debug output ([#17202](https://togithub.com/eslint/eslint/issues/17202)) (Milos Djermanovic) - [`37432f2`](https://togithub.com/eslint/eslint/commit/37432f27dc15817d66cf42377792197dc2aeb8b2) chore: update descriptions in key-spacing tests ([#17195](https://togithub.com/eslint/eslint/issues/17195)) (Milos Djermanovic) ### [`v8.41.0`](https://togithub.com/eslint/eslint/releases/tag/v8.41.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.40.0...v8.41.0) #### Features - [`880a431`](https://togithub.com/eslint/eslint/commit/880a4317b949e575a4a6c5e8baaba1eea7674cc6) feat: change default ignore pattern to `**/node_modules/` in flat config ([#17184](https://togithub.com/eslint/eslint/issues/17184)) (Milos Djermanovic) - [`8bf5505`](https://togithub.com/eslint/eslint/commit/8bf550594fca6d29fab1a3453e701c1a457767e1) feat: expose `shouldUseFlatConfig` ([#17169](https://togithub.com/eslint/eslint/issues/17169)) (Connor Prussin) #### Bug Fixes - [`4f5440d`](https://togithub.com/eslint/eslint/commit/4f5440db631707b17140c4e5cc7beb223afbd2b9) fix: incorrect warning message for ignored dotfiles ([#17196](https://togithub.com/eslint/eslint/issues/17196)) (Milos Djermanovic) - [`94da96c`](https://togithub.com/eslint/eslint/commit/94da96cbf0fb2bb6694fa2e757eb1b3e74c40db7) fix: unify `LintMessage` type ([#17076](https://togithub.com/eslint/eslint/issues/17076)) (Brandon Mills) - [`0c415cd`](https://togithub.com/eslint/eslint/commit/0c415cda5d76dbe5120ab9f3c4c81320538e35f0) fix: validate `ignorePatterns` constructor option in `FlatESLint` class ([#17139](https://togithub.com/eslint/eslint/issues/17139)) (Milos Djermanovic) - [`9682d66`](https://togithub.com/eslint/eslint/commit/9682d669e4ee8641293914e21679f40fee8bc354) fix: switch `grapheme-splitter` to `graphemer` ([#17160](https://togithub.com/eslint/eslint/issues/17160)) (fisker Cheung) #### Documentation - [`7709b14`](https://togithub.com/eslint/eslint/commit/7709b14e18ad4e11c1119ed6575454243b8e7084) docs: Update README (GitHub Actions Bot) - [`7f183e0`](https://togithub.com/eslint/eslint/commit/7f183e020579380fa57473caaf9ed154470c25b3) docs: Update triage process description ([#17157](https://togithub.com/eslint/eslint/issues/17157)) (Nicholas C. Zakas) - [`b68346b`](https://togithub.com/eslint/eslint/commit/b68346b290d55324e73868ca42b3854157b27375) docs: fix license to reflect relicensing of jshint ([#17165](https://togithub.com/eslint/eslint/issues/17165)) (Stefan Bischof) #### Chores - [`f43216a`](https://togithub.com/eslint/eslint/commit/f43216a8c77ab6cf1d0823978e8c728786b4cba7) chore: upgrade [@eslint/js](https://togithub.com/eslint/js)[@8](https://togithub.com/8).41.0 ([#17200](https://togithub.com/eslint/eslint/issues/17200)) (Milos Djermanovic) - [`95c3007`](https://togithub.com/eslint/eslint/commit/95c300780a1cfd9ad680bc78850542eb55d7fbf4) chore: package.json update for [@eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`ddc5291`](https://togithub.com/eslint/eslint/commit/ddc5291debd90ff476e17c532af7577e26720b91) chore: don't use deprecated `context` methods in `ast-utils` tests ([#17194](https://togithub.com/eslint/eslint/issues/17194)) (Milos Djermanovic) - [`b1516db`](https://togithub.com/eslint/eslint/commit/b1516db51514032ed06e1425c4b1f955238dc682) chore: Fix return type of `findFlatConfigFile` ([#17161](https://togithub.com/eslint/eslint/issues/17161)) (Milos Djermanovic) - [`918b0fd`](https://togithub.com/eslint/eslint/commit/918b0fd21723e84bd7acb17942a36606f1d8360a) perf: Store indent descriptors in a plain array ([#17148](https://togithub.com/eslint/eslint/issues/17148)) (Francesco Trotta) - [`4caa344`](https://togithub.com/eslint/eslint/commit/4caa34449555d8a680222ec2049d97c59476c11e) refactor: locateConfigFileToUse returns an Error object ([#17159](https://togithub.com/eslint/eslint/issues/17159)) (唯然) ### [`v8.40.0`](https://togithub.com/eslint/eslint/releases/tag/v8.40.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.39.0...v8.40.0) #### Features - [`5db7808`](https://togithub.com/eslint/eslint/commit/5db7808139c1f2172797285a0700f01644bda254) feat: improve flat config errors for invalid rule options and severities ([#17140](https://togithub.com/eslint/eslint/issues/17140)) (Josh Goldberg ✨) - [`f5574dc`](https://togithub.com/eslint/eslint/commit/f5574dc739fcc74a7841217ba1f31cce02bee1ff) feat: Add findConfigFile() method to FlatESLint ([#17142](https://togithub.com/eslint/eslint/issues/17142)) (Nicholas C. Zakas) - [`e52b98b`](https://togithub.com/eslint/eslint/commit/e52b98bf25d882da4efd5559ce5974b6697cf701) feat: add `sourceCode` property to the rule context ([#17107](https://togithub.com/eslint/eslint/issues/17107)) (Nitin Kumar) - [`1468f5b`](https://togithub.com/eslint/eslint/commit/1468f5b640cfa6fdd8a5ec895337f692def2780b) feat: add `physicalFilename` property to the rule context ([#17111](https://togithub.com/eslint/eslint/issues/17111)) (Nitin Kumar) - [`0df4d4f`](https://togithub.com/eslint/eslint/commit/0df4d4f658c214e51310a986c03d44d34ceae3ec) feat: add `cwd` to rule context ([#17106](https://togithub.com/eslint/eslint/issues/17106)) (Nitin Kumar) - [`52018f2`](https://togithub.com/eslint/eslint/commit/52018f21c19b3e461cae32843cddd17ed42f19cd) feat: add `filename` property to the rule context ([#17108](https://togithub.com/eslint/eslint/issues/17108)) (Nitin Kumar) - [`559ff4e`](https://togithub.com/eslint/eslint/commit/559ff4e4bc54a8b6e6b54825d83c532d724204b3) feat: add new `omitLastInOneLineClassBody` option to the `semi` rule ([#17105](https://togithub.com/eslint/eslint/issues/17105)) (Nitin Kumar) #### Bug Fixes - [`f076e54`](https://togithub.com/eslint/eslint/commit/f076e54ecdb0fae70d9b43ad6888606097beef97) fix: Ensure FlatESLint#findConfigFile() doesn't throw. ([#17151](https://togithub.com/eslint/eslint/issues/17151)) (Nicholas C. Zakas) #### Documentation - [`e980bf3`](https://togithub.com/eslint/eslint/commit/e980bf38cf441f2eb29c458b93df77dc0111b391) docs: Update README (GitHub Actions Bot) - [`e92a6fc`](https://togithub.com/eslint/eslint/commit/e92a6fc7ed2a427f5e95f4b3a1c21d71553c97ee) docs: Update README (GitHub Actions Bot) - [`af5fe64`](https://togithub.com/eslint/eslint/commit/af5fe64c398c9bd4206c3c6c1ade81768b291031) docs: Fix custom rule schema docs ([#17115](https://togithub.com/eslint/eslint/issues/17115)) (Adam Jones) - [`4a352a9`](https://togithub.com/eslint/eslint/commit/4a352a957ba9e721bec9f6f403b419a22b0ec423) docs: explain how to include predefined globals ([#17114](https://togithub.com/eslint/eslint/issues/17114)) (Marcus Wyatt) - [`5ea15d9`](https://togithub.com/eslint/eslint/commit/5ea15d92ee358e8f3f652c94c019cac96aaec651) docs: add mastodon link in readme ([#17110](https://togithub.com/eslint/eslint/issues/17110)) (唯然) #### Chores - [`4053004`](https://togithub.com/eslint/eslint/commit/4053004c951813473d1c43f9f9959a9a3484242f) chore: upgrade [@eslint/js](https://togithub.com/eslint/js)[@8](https://togithub.com/8).40.0 ([#17156](https://togithub.com/eslint/eslint/issues/17156)) (Milos Djermanovic) - [`50fed1d`](https://togithub.com/eslint/eslint/commit/50fed1da4449ad7ecbb558294438273cfce603d4) chore: package.json update for [@eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`4c7a170`](https://togithub.com/eslint/eslint/commit/4c7a170b04c5a746e401bef7ce79766ff66a1168) chore: upgrade [@eslint/eslintrc](https://togithub.com/eslint/eslintrc)[@2](https://togithub.com/2).0.3 ([#17155](https://togithub.com/eslint/eslint/issues/17155)) (Milos Djermanovic) - [`e80b7cc`](https://togithub.com/eslint/eslint/commit/e80b7cce640b60c00802148dbb51d03c7223afa9) chore: upgrade espree@9.5.2 ([#17154](https://togithub.com/eslint/eslint/issues/17154)) (Milos Djermanovic) - [`ce3ac91`](https://togithub.com/eslint/eslint/commit/ce3ac91b510576e2afba1657aa5f09e162b4ab07) chore: upgrade eslint-visitor-keys@3.4.1 ([#17153](https://togithub.com/eslint/eslint/issues/17153)) (Milos Djermanovic) - [`9094d79`](https://togithub.com/eslint/eslint/commit/9094d79fb42c0ebb6100426a3f2f851e8d42a0ee) chore: add `latest/` to `meta.docs.url` in all core rules ([#17136](https://togithub.com/eslint/eslint/issues/17136)) (Milos Djermanovic) - [`d85efad`](https://togithub.com/eslint/eslint/commit/d85efad655deacc0dc3fdbbace33307094c3b91b) perf: don't use `grapheme-splitter` on ASCII strings in key-spacing rule ([#17122](https://togithub.com/eslint/eslint/issues/17122)) (Milos Djermanovic) ### [`v8.39.0`](https://togithub.com/eslint/eslint/releases/tag/v8.39.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.38.0...v8.39.0) #### Features - [`3f7af9f`](https://togithub.com/eslint/eslint/commit/3f7af9f408625dbc486af914706d34c4b483b5ba) feat: Implement `SourceCode#markVariableAsUsed()` ([#17086](https://togithub.com/eslint/eslint/issues/17086)) (Nicholas C. Zakas) #### Documentation - [`6987dc5`](https://togithub.com/eslint/eslint/commit/6987dc59e46f4e345d0d6c20c1f2c6846bbd7acc) docs: Fix formatting in Custom Rules docs ([#17097](https://togithub.com/eslint/eslint/issues/17097)) (Milos Djermanovic) - [`4ee92e5`](https://togithub.com/eslint/eslint/commit/4ee92e5cbdeba6fea2147901ce926de16946958a) docs: Update README (GitHub Actions Bot) - [`d8e9887`](https://togithub.com/eslint/eslint/commit/d8e9887c2c384d24d586d08ee9ae2ada79bd234c) docs: Custom Rules cleanup/expansion ([#16906](https://togithub.com/eslint/eslint/issues/16906)) (Ben Perlmutter) - [`1fea279`](https://togithub.com/eslint/eslint/commit/1fea2797801a82a2718814c83dad641dab092bcc) docs: Clarify how to add to tsc agenda ([#17084](https://togithub.com/eslint/eslint/issues/17084)) (Nicholas C. Zakas) - [`970ef1c`](https://togithub.com/eslint/eslint/commit/970ef1c868235a58297682513842f1256cdfbd03) docs: Update triage board location (Nicholas C. Zakas) - [`6d8bffd`](https://togithub.com/eslint/eslint/commit/6d8bffdf45d50e272dc45e6d2d05b4a737514468) docs: Update README (GitHub Actions Bot) #### Chores - [`60a6f26`](https://togithub.com/eslint/eslint/commit/60a6f2694deb4aa1c54de2a28d0357cddfd16644) chore: upgrade [@eslint/js](https://togithub.com/eslint/js)[@8](https://togithub.com/8).39.0 ([#17102](https://togithub.com/eslint/eslint/issues/17102)) (Milos Djermanovic) - [`d5ba5c0`](https://togithub.com/eslint/eslint/commit/d5ba5c0a85e7a10777761f5d46c104ab7f25845b) chore: package.json update for [@eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`f57eff2`](https://togithub.com/eslint/eslint/commit/f57eff20f5789408e95061f1af5354bb9b4f4784) ci: run tests on Node.js v20 ([#17093](https://togithub.com/eslint/eslint/issues/17093)) (Nitin Kumar) - [`9d1b8fc`](https://togithub.com/eslint/eslint/commit/9d1b8fc60cc31f12618e58c10a2669506b7ce9bf) perf: Binary search in token store `utils.search` ([#17066](https://togithub.com/eslint/eslint/issues/17066)) (Francesco Trotta) - [`07a4435`](https://togithub.com/eslint/eslint/commit/07a4435a0c08cb63ebf11b71f735bac20318829b) chore: Add request for minimal repro to bug report ([#17081](https://togithub.com/eslint/eslint/issues/17081)) (Nicholas C. Zakas) - [`eac4943`](https://togithub.com/eslint/eslint/commit/eac4943ba2e4edb3dbfea0470e5d4b15a4926c40) refactor: remove unnecessary use of `SourceCode#getAncestors` in rules ([#17075](https://togithub.com/eslint/eslint/issues/17075)) (Milos Djermanovic) - [`0a7b60a`](https://togithub.com/eslint/eslint/commit/0a7b60a9d5621dbbc1a8a8adda3b7c2060c779ca) chore: update description of `SourceCode#getDeclaredVariables` ([#17072](https://togithub.com/eslint/eslint/issues/17072)) (Milos Djermanovic) - [`6e2df71`](https://togithub.com/eslint/eslint/commit/6e2df71cc390252aaca212abe3dc0467fe397450) chore: remove unnecessary references to the LICENSE file ([#17071](https://togithub.com/eslint/eslint/issues/17071)) (Milos Djermanovic)Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.