warn 로그 출력 제거

This commit is contained in:
yschoi
2025-08-18 16:18:23 +09:00
parent 666307d76c
commit d0324bf136
5 changed files with 9 additions and 1 deletions
+2
View File
@@ -4,6 +4,7 @@ import { FlatCompat } from "@eslint/eslintrc";
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const isProd = process.env.NODE_ENV === "production";
const compat = new FlatCompat({
baseDirectory: __dirname,
@@ -14,6 +15,7 @@ const eslintConfig = [
{rules:{
// other rules..
"@typescript-eslint/no-explicit-any": "off",
...(isProd ? { "react-hooks/exhaustive-deps": "off" } : {}),
}},
];
+2
View File
@@ -4,6 +4,7 @@ import { FlatCompat } from "@eslint/eslintrc";
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const isProd = process.env.NODE_ENV === "production";
const compat = new FlatCompat({
baseDirectory: __dirname,
@@ -14,6 +15,7 @@ const eslintConfig = [
{rules:{
// other rules..
"@typescript-eslint/no-explicit-any": "off",
...(isProd ? { "react-hooks/exhaustive-deps": "off" } : {}),
}},
];
+2
View File
@@ -4,6 +4,7 @@ import { FlatCompat } from "@eslint/eslintrc";
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const isProd = process.env.NODE_ENV === "production";
const compat = new FlatCompat({
baseDirectory: __dirname,
@@ -11,6 +12,7 @@ const compat = new FlatCompat({
const eslintConfig = [
...compat.extends("next/core-web-vitals", "next/typescript"),
...(isProd ? { "react-hooks/exhaustive-deps": "off" } : {}),
];
export default eslintConfig;
+2
View File
@@ -4,6 +4,7 @@ import { fileURLToPath } from "url";
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const isProd = process.env.NODE_ENV === "production";
const compat = new FlatCompat({
baseDirectory: __dirname,
@@ -14,6 +15,7 @@ const eslintConfig = [
{rules:{
// other rules..
"@typescript-eslint/no-explicit-any": "off",
...(isProd ? { "react-hooks/exhaustive-deps": "off" } : {}),
}},
];