[@angular-eslint/use-lifecycle-interface] --fix adds interface at wrong position #1901
Labels
package: eslint-plugin
Angular-specific TypeScript rules
triage
This issue needs to be looked at and categorized by a maintainer
Description and reproduction of the issue
When running eslint with the --fix param, he finds some files in our project which extend from a parent class. When trying to add the lifecycle interface, he adds it BEFORE the extension creating something like this
which then breaks the project.
Versions
@angular-eslint/eslint-plugin
18.0.1
@typescript-eslint/parser
18.0.1
ESLint
8.57.0
node
22.2.0
# Please run `npx ng version` in your project and paste the full output here: Package Version --------------------------------------------------------- @angular-devkit/architect 0.1800.5 @angular-devkit/build-angular 18.0.5 @angular-devkit/core 18.0.5 @angular-devkit/schematics 18.0.5 @angular/cli 18.0.3 @angular/google-maps 18.0.3 @angular/ssr 18.0.5 @schematics/angular 18.0.5 ng-packagr 18.0.0 rxjs 7.5.7 typescript 5.4.3 webpack 5.91.0 zone.js 0.14.3
ng version
output per the instructions given here.The text was updated successfully, but these errors were encountered: