chore: Enable more lint rules, disable some that trigger a lot. Will clean up later.

This commit is contained in:
cpojer
2026-01-31 16:03:28 +09:00
parent 481f696a87
commit 15792b153f
292 changed files with 643 additions and 699 deletions

View File

@@ -7,13 +7,24 @@
],
"categories": {
"correctness": "error",
"perf": "error"
"perf": "error",
"suspicious": "error",
},
"rules": {
"eslint-plugin-unicorn/prefer-array-find": "off",
"eslint/no-await-in-loop": "off",
"oxc/no-accumulating-spread": "off",
"oxc/no-map-spread": "off"
"oxc/no-map-spread": "off",
"typescript/no-unsafe-type-assertion": "off",
"typescript/no-unnecessary-template-expression": "off",
"unicorn/consistent-function-scoping": "off",
"typescript/no-extraneous-class": "off",
"oxc/no-async-endpoint-handlers": "off",
"eslint/no-useless-concat": "off",
"eslint/no-unused-vars": "off",
"eslint/no-new": "off",
"eslint/preserve-caught-error": "off",
"unicorn/require-post-message-target-origin": "off",
},
"ignorePatterns": ["src/canvas-host/a2ui/a2ui.bundle.js"]
}