feat: no any type rule
This commit is contained in:
5
.continue/rules/no-any-types.md
Normal file
5
.continue/rules/no-any-types.md
Normal 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.
|
||||
Reference in New Issue
Block a user