I built Bastila to help with tackling enormous tech debt and code standard issues in a large codebase. Using the command line, commit hooks, and/or VSC you could record code snippets that you didn't want to see in your codebase. Bastila would keep track of the number of instances of those snippets, recommend better approaches, and prevent developers from adding additional instances of deprecated patterns.