Explorar el Código

Update ESLint

Turn off error for service() with classes
jmacura hace 5 años
padre
commit
b264d5e3f7
Se han modificado 1 ficheros con 2 adiciones y 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",