EmmanuelDemey/eslint-plugin-angular

`oldBehavior` documentation

jdiefen opened this issue · 2 comments

I got a warning after I upgraded this plugin:

The rule `angular/service-name` will be split up to different rules in the next version. Please read the docs for more information

Looking at the docs, I see that the rule has something about setting oldBehavior to false. However, I have no clue what this is talking about, even after reading the code/issues that reference "oldBehavior". Could some documentation on this and how to migrate to the "new" behavior be added?

Thanks!

@blakcap would you want to PR docs? :-)

Seems like the change is somewhere here:

https://github.com/Gillespie59/eslint-plugin-angular/commits/46d0ef9bd065aacf83bad6f3ff8cf6fc101e5842/rules/service-name.js

The warning itself was added here:
9a11a89

Hello @blakcap, have you solved your issue? I get the same problem and cannot understand why..
Help will be really appreciated!