Merge pull request #7693 from continuedev/dallin/con-3885-no-any-rule

feat: no any type rule
This commit is contained in:
Dallin Romney 2025-09-11 15:13:11 -07:00 • committed by GitHub
commit 4a9ea24ac7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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.