{
  "root": true,
  "extends": "next/core-web-vitals",
  "parser": "@typescript-eslint/parser",
  "plugins": ["@typescript-eslint", "eslint-plugin-react-compiler", "local-rules"],
  "rules": {
    "no-unused-vars": "off",
    "@typescript-eslint/no-unused-vars": ["error", {"varsIgnorePattern": "^_"}],
    "react-hooks/exhaustive-deps": "error",
    "react/no-unknown-property": ["error", {"ignore": ["meta"]}],
    "react-compiler/react-compiler": "error",
    "local-rules/lint-markdown-code-blocks": "error"
  },
  "env": {
    "node": true,
    "commonjs": true,
    "browser": true,
    "es6": true
  },
  "overrides": [
    {
      "files": ["src/content/**/*.md"],
      "parser": "./eslint-local-rules/parser",
      "parserOptions": {
        "sourceType": "module"
      },
      "rules": {
        "no-unused-vars": "off",
        "@typescript-eslint/no-unused-vars": "off",
        "react-hooks/exhaustive-deps": "off",
        "react/no-unknown-property": "off",
        "react-compiler/react-compiler": "off",
        "local-rules/lint-markdown-code-blocks": "error"
      }
    }
  ]
}
