浏览代码

update outdated eslint rules

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

+ 1 - 8
.eslintrc.json

@@ -4,12 +4,5 @@
     "unused-imports/no-unused-imports": "error"
   },
   "extends": ["next/core-web-vitals"],
-  "plugins": ["testing-library", "unused-imports"],
-  "overrides": [
-    // Only uses Testing Library lint rules in test files
-    {
-      "files": ["**/__tests__/**/*.[jt]s?(x)", "**/?(*.)+(spec|test).[jt]s?(x)"],
-      "extends": ["plugin:testing-library/react"]
-    }
-  ]
+  "plugins": ["unused-imports"]
 }