Friday, 18 June, 2021 UTC


Summary

ESLint v7.29.0 released
We just pushed ESLint v7.29.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.
Highlights
The ESLint class has a new getRulesMetaForResults() method that returns meta information for rules in lint results. ESLint integrations should migrate to ESLint#getRulesMetaForResults() from the getRules() method on the deprecated CLIEngine class.
RuleTester test cases now support an optional only boolean property that allows running a single test case in isolation for easier debugging.
Features
  • bfbfe5c New: Add only to RuleTester (refs eslint/rfcs#73) (#14677) (Brandon Mills)
  • c2cd7b4 New: Add ESLint#getRulesMetaForResults() (refs #13654) (#14716) (Nicholas C. Zakas)
Bug Fixes
  • 6a1c7a0 Fix: allow fallthrough comment inside block (fixes #14701) (#14702) (Kevin Gibbons)
Documentation
  • a47e5e3 Docs: Add Mega-Linter to the list of integrations (#14707) (Nicolas Vuillamy)
  • c93a222 Docs: fix a broken link (#14697) (Sam Chen)
Chores
  • eea7e0d Chore: remove duplicate code (#14719) (Nitin Kumar)
  • 353ddf9 Chore: enable reportUnusedDisableDirectives in eslint-config-eslint (#14699) (薛定谔的猫)
  • 757c495 Chore: add some rules to eslint-config-eslint (#14692) (薛定谔的猫)