feat: no any type rule

This commit is contained in:
Dallin Romney
2025-09-10 15:14:29 -07:00
parent 0b7b6c41bb
commit b87aafcfc0

View File

@@ -0,0 +1,5 @@
---
globs: "**/*.{ts,tsx}"
---
Avoid using the `any` type wherever possible. Use unknown or find the correct type. The only acceptable place to use any is when typecasting for test mocks, and even then it's better to avoid and provide a proper mock.