Find ModuleWithProviders without generic type

Proprietary

Finds imports of ModuleWithProviders from @angular/core. Starting in Angular 10, ModuleWithProviders requires a generic type parameter (e.g. ModuleWithProviders<MyModule>). Ensure all usages specify the module type.

org.openrewrite.angular.search.find-bare-module-with-providers
mod run . --recipe=org.openrewrite.angular.search.find-bare-module-with-providers

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.