Skip to content

typescript: promote no-floating-promises and no-unsafe-* from warn to error #21

@boldsbrainai

Description

@boldsbrainai

Summary

The following ESLint rules are currently set to warn in eslint.config.mjs (lines 32–40), allowing unsafe patterns to pass CI:

  • @typescript-eslint/no-floating-promises
  • @typescript-eslint/no-unsafe-argument
  • @typescript-eslint/no-unsafe-assignment
  • @typescript-eslint/no-unsafe-member-access

Unhandled promises in the VS Code extension host can cause silent failures. Implicit any types undermine the strict TypeScript config.

Fix

Change the severity of these rules from warn to error in eslint.config.mjs. Fix any violations exposed.

Effort estimate

~30 min (config change) + time to fix exposed violations

Metadata

Metadata

Assignees

Labels

dxDeveloper experienceenhancementNew feature or request

Type

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions