We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cd274e commit 4cd9233Copy full SHA for 4cd9233
packages/eslint-plugin/docs/rules/no-empty-lifecycle-method.md
@@ -119,6 +119,13 @@ class Test implements ng.OnDestroy {
119
import {DoBootstrap, OnInit} from '@angular/core';
120
@NgModule()
121
class Test implements OnInit, DoBootstrap {
122
+ ngOnInit() {
123
+ this.init();
124
+ }
125
+}
126
+
127
+@NgModule()
128
+class Test2 implements OnInit, DoBootstrap {
129
ngOnInit() {}
130
~~~~~~~~~~~~~
131
}
0 commit comments