refactor: enforce strict linting rules, replace forEach with for...of loops, and remove console logging throughout the frontend.

This commit is contained in:
ramvignesh-b
2026-04-13 14:30:17 +05:30
parent 2776aac69a
commit 12763ab7ab
12 changed files with 38 additions and 37 deletions
+20 -1
View File
@@ -17,7 +17,26 @@
"linter": {
"enabled": true,
"rules": {
"recommended": true
"recommended": true,
"complexity": {
"noForEach": "error",
"useLiteralKeys": "error"
},
"style": {
"useConst": "error",
"noNonNullAssertion": "warn"
},
"a11y": {
"useAltText": "error",
"noAutofocus": "warn"
},
"suspicious": {
"noExplicitAny": "warn",
"noConsole": "warn"
},
"correctness": {
"noUnusedVariables": "error"
}
},
"includes": ["**", "!backend"]
},