Ban Type Assertions

Ban `as` type assertions in a package via the `@typescript-eslint/consistent-type-assertions` lint rule, replacing them with compiler-verified type-safe alternatives. Use when enabling the assertion ban in a new package or fixing violations in an existing one.

factory-ai bd01361 6.7 KB Updated

File contents

factory-ai/factory-plugins/tree/main/plugins/typescript/skills/ban-type-assertions commit bd013612b3

Frequently asked questions

npx skillmds@latest add factory-ai/ban-type-assertions