Refactor: Implement logging phases

This commit is contained in:
gpt-engineer-app[bot]
2025-11-03 17:08:36 +00:00
parent 12de4e2ec1
commit b6179372e6
27 changed files with 72 additions and 45 deletions

View File

@@ -26,7 +26,7 @@ export default tseslint.config(
...reactHooks.configs.recommended.rules,
"react-refresh/only-export-components": ["warn", { allowConstantExport: true }],
// Console statement prevention (P0 #2 - Security Critical)
"no-console": ["error", { allow: ["warn", "error"] }],
"no-console": "error", // Block ALL console statements
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-unsafe-assignment": "warn",
@@ -52,7 +52,7 @@ export default tseslint.config(
},
rules: {
// Console statement prevention (P0 #2 - Security Critical)
"no-console": ["error", { allow: ["warn", "error"] }],
"no-console": "error", // Block ALL console statements
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/explicit-function-return-type": ["error", {