#111608Lint TypeScript with the recommended-type-checked preset
Description
Final step of #111591, once the findings of all rule subtasks are resolved.
Switch Build/eslint.config.mjs from the typescript-eslint preset recommended to recommended-type-checked and enable typescript-eslint/no-non-null-assertion@, with no rule switched off. The type-aware setup (parserOptions.project) is already in place.
The rules the configuration enables by hand and the preset already contains (no-unnecessary-type-assertion, restrict-plus-operands, no-array-delete, no-this-alias, no-unused-vars, no-unsafe-function-type, no-wrapper-object-types) are dropped from the configuration.
Findings that entered the code base after a subtask was merged are resolved here.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[TASK] Lint TypeScript with the recommended-type-checked preset Resolves: #111608 Releases: main