Turn off error for service() with classes
@@ -8,9 +8,8 @@
"angular": "readonly"
},
"rules": {
- "angular/di": [
- "error",
- "function"
+ "angular/no-service-method": [
+ "warn"
],
"angular/typecheck-array": "off",
"angular/typecheck-date": "off",