瀏覽代碼

Update ESLint

Turn off error for service() with classes
jmacura 5 年之前
父節點
當前提交
b264d5e3f7
共有 1 個文件被更改,包括 2 次插入3 次删除
  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",