This plugin prevents accidental imports from @ionic/angular instead of @ionic/angular/standalone.
- ✒️ The
--fixoption on the command line can automatically fix some of the problems reported by this rule.
Mixing imports from @ionic/angular and @ionic/angular/standalone can cause runtime issues. While the build process may succeed, the application might fail when running in the browser. This rule helps prevent such issues by enforcing consistent import paths.
❌ Incorrect: Importing from @ionic/angular
import { ModalController } from '@ionic/angular';✅ Correct: Importing from @ionic/angular/standalone
import { ModalController } from '@ionic/angular/standalone';No Options.