{
  "rules": {
    "@next/next/no-img-element": "off",
    "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"]
    }
  ]
}
