{
  "root": true,
  "parser": "@typescript-eslint/parser",
  "env": { "node": true },
  "plugins": [
    "@typescript-eslint",
    "react",
    "react-hooks",
    "fsd-import"
  ],
  "extends": [
    "eslint:recommended",
    "plugin:@typescript-eslint/eslint-recommended",
    "plugin:@typescript-eslint/recommended"
  ], 
  "parserOptions": {
    "sourceType": "module"
  },
  "rules": {
    "no-warning-comments": ["warn", { "terms": ["TODO", "FIXME"], "location": "start" }],
    "no-unused-vars": "off",
    "@typescript-eslint/no-unused-vars": ["off", {}],
    "@typescript-eslint/ban-ts-comment": "off",
    "no-prototype-builtins": "off",
    "@typescript-eslint/no-empty-interface": "off",
    "@typescript-eslint/no-empty-function": "off",
    "react-hooks/rules-of-hooks": "error", // Hooks의 규칙을 강제
    "react-hooks/exhaustive-deps": "warn",  // 의존성 배열 검사
    "fsd-import/fsd-relative-path": "error",
    "fsd-import/public-api-imports": "error",
    "fsd-import/layer-imports": "error"
  } 
}