diff --git a/frontend/.claude/settings.local.json b/frontend/.claude/settings.local.json new file mode 100644 index 0000000..bf15e98 --- /dev/null +++ b/frontend/.claude/settings.local.json @@ -0,0 +1,7 @@ +{ + "permissions": { + "allow": ["Bash(find:*)"], + "deny": [], + "ask": [] + } +} diff --git a/frontend/eslint.config.js b/frontend/eslint.config.js index f461674..dba0190 100644 --- a/frontend/eslint.config.js +++ b/frontend/eslint.config.js @@ -19,5 +19,17 @@ export default tseslint.config([ ecmaVersion: 2020, globals: globals.browser, }, + rules: { + "react-refresh/only-export-components": [ + "warn", + { allowConstantExport: true }, + ], + }, + }, + { + files: ["src/components/**/*.{ts,tsx}", "src/contexts/**/*.{ts,tsx}"], + rules: { + "react-refresh/only-export-components": "off", + }, }, ]);