Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Use ESLint selectors in custom rules #17572
This PR simplifies several of our custom ESLint rules by using selector syntax instead of handwritten functions to identify matching AST nodes.
Affected core subsystem(s)
Pulled selectors out into variables, as requested.