Explorar o código

Update ESLint

Turn off error for service() with classes
jmacura %!s(int64=5) %!d(string=hai) anos
pai
achega
b264d5e3f7
Modificáronse 1 ficheiros con 2 adicións e 3 borrados
  1. 2 3
      .eslintrc.json

+ 2 - 3
.eslintrc.json

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