Skip to content

v8.40.0

Compare
Choose a tag to compare
@eslintbot eslintbot released this 05 May 20:42
· 598 commits to main since this release

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)