mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-20 04:31:13 -05:00
Refactor: Implement logging phases
This commit is contained in:
@@ -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", {
|
||||
|
||||
Reference in New Issue
Block a user