feat: no any type rule
This commit is contained in:
parent
0b7b6c41bb
commit
b87aafcfc0
1 changed files with 5 additions and 0 deletions
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.
|
||||
Loading…
Add table
Reference in a new issue