浏览代码

ignore @next warning Image

AykutSarac 3 年之前
父节点
当前提交
fbc36d9b97
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 5 2
      .eslintrc.json

+ 5 - 2
.eslintrc.json

@@ -1,3 +1,6 @@
 {
-  "extends": "next/core-web-vitals"
-}
+  "extends": "next/core-web-vitals",
+  "rules": {
+    "@next/next/no-img-element": "off"
+  }
+}