diff --git a/eslint.config.js b/eslint.config.js index 79a552e..d794d24 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -23,6 +23,10 @@ export default tseslint.config( "warn", { allowConstantExport: true }, ], + "@typescript-eslint/no-unused-vars": [ + "warn", // 경고로 설정 (에러가 아님) + { argsIgnorePattern: "^_" }, // "_"로 시작하는 변수는 무시 + ], }, }, ); diff --git a/src/App.tsx b/src/App.tsx index dbac9a1..e9f490b 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -9,6 +9,7 @@ function App() {
+