-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
angular/module-getter and angular/di: false positive when calling providers' config
method
#223
Comments
+1 for |
I think the |
Have the same problem. @Gillespie59 what I should do to fix this problem? Why |
@Gillespie59 may it be caused by a |
Currently there is no angular module detection at all. To solve this problem in a more generic way I created I suggest the following:
|
Any updates? |
Same problem, no fix planned ? |
I'm getting both
angular/module-getter
andangular/di
errors when validating a file containingconfig
call of a module.Here's the snippet:
And here the error in terminal:
Rule is failing in line 15 because of (I guess) a call to a method named
config
, but not in line 10 where provider's method is namedsetOptions
.None of them refers to a module variable.
The text was updated successfully, but these errors were encountered: