[TS] Force explicit override & property access (#1006)

Enables TypeScript rules that improve code legibility.

- Requires `override` keyword
- Prevent indexed properties from being accessed with dot notation

```ts
const obj: Record<string, unknown> = {}

// Prefer
obj["property"]

// Over
obj.property
```
This commit is contained in:
filtered
2025-05-04 06:37:01 +10:00
committed by GitHub
parent f2eafae82d
commit bfc87af9d1
10 changed files with 21 additions and 16 deletions

View File

@@ -19,6 +19,8 @@
"noUnusedParameters": false,
"noFallthroughCasesInSwitch": true,
"downlevelIteration": true,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
/* AllowJs during migration phase */
"allowJs": true,