
Highlights
- Rules can now use SourceCode#getDeclaredVariables(node)andSourceCode#getAncestors(node)methods. These methods work the same ascontext.getDeclaredVariables(node)andcontext.getAncestors()respectively, except thatSourceCode#getAncestorsisn’t limited to the currently traversed node and thenodeargument is mandatory.context.getDeclaredVariablesandcontext.getAncestorsare now considered deprecated in favor of theSourceCodemethods. This change is part of the implementation of language plugins.
Features
Bug Fixes
- 1c1ece2fix: do not report on- RegExp(...args)in- require-unicode-regexp(#17037) (Francesco Trotta)
Documentation
- 7162d34docs: Mention new config system is complete (#17068) (Nicholas C. Zakas)
- 0fd6bb2docs: Update README (GitHub Actions Bot)
- c83531cdocs: Update/remove external links, eg. point to- eslint-community(#17061) (Pelle Wessman)
- a3aa6f5docs: Clarify- no-div-regexrule docs (#17051) (Francesco Trotta)
- b0f11cfdocs: Update README (GitHub Actions Bot)
- da8d52adocs: Update the second object instance for the “no-new” rule (#17020) (Ahmadou Waly NDIAYE)
- 518130adocs: switch language based on current path (#16687) (Percy Ma)
- 24206c4docs: Update README (GitHub Actions Bot)
