mirror of
https://github.com/ramvignesh-b/pi-ku.git
synced 2026-05-04 08:56:52 +00:00
refactor: enforce strict linting rules, replace forEach with for...of loops, and remove console logging throughout the frontend.
This commit is contained in:
+20
-1
@@ -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"]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user