
Published under: Release Notes
1 min read
We just pushed ESLint v8.38.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.
SourceCode#getDeclaredVariables(node) and SourceCode#getAncestors(node) methods. These methods work the same as context.getDeclaredVariables(node) and context.getAncestors() respectively, except that SourceCode#getAncestors isn’t limited to the currently traversed node and the node argument is mandatory. context.getDeclaredVariables and context.getAncestors are now considered deprecated in favor of the SourceCode methods. This change is part of the implementation of language plugins.1c1ece2 fix: do not report on RegExp(...args) in require-unicode-regexp (#17037) (Francesco Trotta)7162d34 docs: Mention new config system is complete (#17068) (Nicholas C. Zakas)0fd6bb2 docs: Update README (GitHub Actions Bot)c83531c docs: Update/remove external links, eg. point to eslint-community (#17061) (Pelle Wessman)a3aa6f5 docs: Clarify no-div-regex rule docs (#17051) (Francesco Trotta)b0f11cf docs: Update README (GitHub Actions Bot)da8d52a docs: Update the second object instance for the “no-new” rule (#17020) (Ahmadou Waly NDIAYE)518130a docs: switch language based on current path (#16687) (Percy Ma)24206c4 docs: Update README (GitHub Actions Bot)The latest ESLint news, case studies, tutorials, and resources.


