ast-grep | structural search/rewrite tool for many languages
ast-grep is a fast and polyglot tool for code structural search, lint, rewriting at large scale.