Re-enable ESLint rules `@typescript-eslint/prefer-*`
- Dominant language
- TypeScript
- Stars
- 413
- Forks
- 308
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 253
Description
```ts
'@typescript-eslint/prefer-enum-initializers': 'error',
'@typescript-eslint/prefer-nullish-coalescing': 'warn',
'@typescript-eslint/prefer-optional-chain': 'warn',
'@typescript-eslint/prefer-reduce-type-parameter': 'warn',
```
In future PRs, enabling the 'prefer' rules should remove the need for some style guide entries (TODO: link entries)
Contributor guide
No contributing guide indexed for this repository
Research direction
Find the ESLint configuration containing the four listed @typescript-eslint/prefer-* rules and inspect the related style guide entries. Re-enable the rules, resolve any reported violations, and run the repository lint checks to confirm they pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- eslint, typescript
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100