We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6522da9 commit 48f5452Copy full SHA for 48f5452
1 file changed
eslint.config.mjs
@@ -13,6 +13,25 @@ const eslintConfig = defineConfig([
13
"build/**",
14
"next-env.d.ts",
15
]),
16
+ // Custom rules: 에러를 warning으로 완화
17
+ {
18
+ rules: {
19
+ // React Hooks 관련 (React 19 Compiler 엄격 규칙)
20
+ "react-hooks/set-state-in-effect": "warn",
21
+ "react-hooks/static-components": "warn",
22
+ "react-hooks/purity": "warn",
23
+ "react-hooks/use-memo": "warn",
24
+
25
+ // TypeScript 관련
26
+ "@typescript-eslint/no-explicit-any": "warn",
27
+ "@typescript-eslint/no-unused-vars": "warn",
28
+ "@typescript-eslint/no-empty-object-type": "warn",
29
+ "@typescript-eslint/no-require-imports": "warn",
30
31
+ // Next.js 관련
32
+ "@next/next/no-html-link-for-pages": "warn",
33
+ },
34
35
]);
36
37
export default eslintConfig;
0 commit comments