Skip to content

Bump eslint from 8.37.0 to 8.40.0

Dependabot requested to merge dependabot-npm_and_yarn-eslint-8.40.0 into main

Bumps eslint from 8.37.0 to 8.40.0.

Release notes

Sourced from eslint's releases.

v8.40.0

Features

  • 5db7808 feat: improve flat config errors for invalid rule options and severities (#17140) (Josh Goldberg )
  • f5574dc feat: Add findConfigFile() method to FlatESLint (#17142) (Nicholas C. Zakas)
  • e52b98b feat: add sourceCode property to the rule context (#17107) (Nitin Kumar)
  • 1468f5b feat: add physicalFilename property to the rule context (#17111) (Nitin Kumar)
  • 0df4d4f feat: add cwd to rule context (#17106) (Nitin Kumar)
  • 52018f2 feat: add filename property to the rule context (#17108) (Nitin Kumar)
  • 559ff4e feat: add new omitLastInOneLineClassBody option to the semi rule (#17105) (Nitin Kumar)

Bug Fixes

  • f076e54 fix: Ensure FlatESLint#findConfigFile() doesn't throw. (#17151) (Nicholas C. Zakas)

Documentation

  • e980bf3 docs: Update README (GitHub Actions Bot)
  • e92a6fc docs: Update README (GitHub Actions Bot)
  • af5fe64 docs: Fix custom rule schema docs (#17115) (Adam Jones)
  • 4a352a9 docs: explain how to include predefined globals (#17114) (Marcus Wyatt)
  • 5ea15d9 docs: add mastodon link in readme (#17110) (唯然)

Chores

  • 4053004 chore: upgrade @​eslint/js@​8.40.0 (#17156) (Milos Djermanovic)
  • 50fed1d chore: package.json update for @​eslint/js release (ESLint Jenkins)
  • 4c7a170 chore: upgrade @​eslint/eslintrc@​2.0.3 (#17155) (Milos Djermanovic)
  • e80b7cc chore: upgrade espree@9.5.2 (#17154) (Milos Djermanovic)
  • ce3ac91 chore: upgrade eslint-visitor-keys@3.4.1 (#17153) (Milos Djermanovic)
  • 9094d79 chore: add latest/ to meta.docs.url in all core rules (#17136) (Milos Djermanovic)
  • d85efad perf: don't use grapheme-splitter on ASCII strings in key-spacing rule (#17122) (Milos Djermanovic)

v8.39.0

Features

  • 3f7af9f feat: Implement SourceCode#markVariableAsUsed() (#17086) (Nicholas C. Zakas)

Documentation

  • 6987dc5 docs: Fix formatting in Custom Rules docs (#17097) (Milos Djermanovic)
  • 4ee92e5 docs: Update README (GitHub Actions Bot)
  • d8e9887 docs: Custom Rules cleanup/expansion (#16906) (Ben Perlmutter)
  • 1fea279 docs: Clarify how to add to tsc agenda (#17084) (Nicholas C. Zakas)
  • 970ef1c docs: Update triage board location (Nicholas C. Zakas)
  • 6d8bffd docs: Update README (GitHub Actions Bot)

Chores

  • 60a6f26 chore: upgrade @​eslint/js@​8.39.0 (#17102) (Milos Djermanovic)
  • d5ba5c0 chore: package.json update for @​eslint/js release (ESLint Jenkins)
  • f57eff2 ci: run tests on Node.js v20 (#17093) (Nitin Kumar)
  • 9d1b8fc perf: Binary search in token store utils.search (#17066) (Francesco Trotta)
  • 07a4435 chore: Add request for minimal repro to bug report (#17081) (Nicholas C. Zakas)
  • eac4943 refactor: remove unnecessary use of SourceCode#getAncestors in rules (#17075) (Milos Djermanovic)
  • 0a7b60a chore: update description of SourceCode#getDeclaredVariables (#17072) (Milos Djermanovic)
  • 6e2df71 chore: remove unnecessary references to the LICENSE file (#17071) (Milos Djermanovic)

... (truncated)

Changelog

Sourced from eslint's changelog.

v8.40.0 - May 5, 2023

  • 4053004 chore: upgrade @​eslint/js@​8.40.0 (#17156) (Milos Djermanovic)
  • 50fed1d chore: package.json update for @​eslint/js release (ESLint Jenkins)
  • f076e54 fix: Ensure FlatESLint#findConfigFile() doesn't throw. (#17151) (Nicholas C. Zakas)
  • 4c7a170 chore: upgrade @​eslint/eslintrc@​2.0.3 (#17155) (Milos Djermanovic)
  • e80b7cc chore: upgrade espree@9.5.2 (#17154) (Milos Djermanovic)
  • ce3ac91 chore: upgrade eslint-visitor-keys@3.4.1 (#17153) (Milos Djermanovic)
  • 5db7808 feat: improve flat config errors for invalid rule options and severities (#17140) (Josh Goldberg )
  • f5574dc feat: Add findConfigFile() method to FlatESLint (#17142) (Nicholas C. Zakas)
  • e52b98b feat: add sourceCode property to the rule context (#17107) (Nitin Kumar)
  • e980bf3 docs: Update README (GitHub Actions Bot)
  • 9094d79 chore: add latest/ to meta.docs.url in all core rules (#17136) (Milos Djermanovic)
  • 1468f5b feat: add physicalFilename property to the rule context (#17111) (Nitin Kumar)
  • 0df4d4f feat: add cwd to rule context (#17106) (Nitin Kumar)
  • 52018f2 feat: add filename property to the rule context (#17108) (Nitin Kumar)
  • 559ff4e feat: add new omitLastInOneLineClassBody option to the semi rule (#17105) (Nitin Kumar)
  • e92a6fc docs: Update README (GitHub Actions Bot)
  • d85efad perf: don't use grapheme-splitter on ASCII strings in key-spacing rule (#17122) (Milos Djermanovic)
  • af5fe64 docs: Fix custom rule schema docs (#17115) (Adam Jones)
  • 4a352a9 docs: explain how to include predefined globals (#17114) (Marcus Wyatt)
  • 5ea15d9 docs: add mastodon link in readme (#17110) (唯然)

v8.39.0 - April 21, 2023

  • 60a6f26 chore: upgrade @​eslint/js@​8.39.0 (#17102) (Milos Djermanovic)
  • d5ba5c0 chore: package.json update for @​eslint/js release (ESLint Jenkins)
  • 6987dc5 docs: Fix formatting in Custom Rules docs (#17097) (Milos Djermanovic)
  • 4ee92e5 docs: Update README (GitHub Actions Bot)
  • 3f7af9f feat: Implement SourceCode#markVariableAsUsed() (#17086) (Nicholas C. Zakas)
  • d8e9887 docs: Custom Rules cleanup/expansion (#16906) (Ben Perlmutter)
  • f57eff2 ci: run tests on Node.js v20 (#17093) (Nitin Kumar)
  • 1fea279 docs: Clarify how to add to tsc agenda (#17084) (Nicholas C. Zakas)
  • 970ef1c docs: Update triage board location (Nicholas C. Zakas)
  • 9d1b8fc perf: Binary search in token store utils.search (#17066) (Francesco Trotta)
  • 07a4435 chore: Add request for minimal repro to bug report (#17081) (Nicholas C. Zakas)
  • eac4943 refactor: remove unnecessary use of SourceCode#getAncestors in rules (#17075) (Milos Djermanovic)
  • 6d8bffd docs: Update README (GitHub Actions Bot)
  • 0a7b60a chore: update description of SourceCode#getDeclaredVariables (#17072) (Milos Djermanovic)
  • 6e2df71 chore: remove unnecessary references to the LICENSE file (#17071) (Milos Djermanovic)

v8.38.0 - April 7, 2023

  • 59ed060 chore: upgrade @​eslint/js@​8.38.0 (#17069) (Milos Djermanovic)
  • 88c0898 chore: package.json update for @​eslint/js release (ESLint Jenkins)
  • 7162d34 docs: Mention new config system is complete (#17068) (Nicholas C. Zakas)
  • a1d561d feat: Move getDeclaredVariables and getAncestors to SourceCode (#17059) (Nicholas C. Zakas)
  • 0fd6bb2 docs: Update README (GitHub Actions Bot)
  • c83531c docs: Update/remove external links, eg. point to eslint-community (#17061) (Pelle Wessman)
  • cf682d2 refactor: simplify new-parens rule schema (#17060) (MHO)

... (truncated)

Commits


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • $dependabot rebase will rebase this MR
  • $dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports

Loading