Elffuss BraidHub

kikocis/continue public

feat: no any type rule
Changesetee03d604eeb7f09da9244be9bd01dd319ba95ff61110c69ddd41c509d345bbea
AuthorDallin Romney <dallinromney@gmail.com> · 2025-09-10 15:14 -07:00
CommitterDallin Romney <dallinromney@gmail.com> · 2025-09-10 15:14 -07:00
Parents177d3bbe4f2a

Browse the files at this changeset

1 file changed

added .continue/rules/no-any-types.md +5 −0
@@ -0,0 +1,5 @@
1+---
2+globs: "**/*.{ts,tsx}"
3+---
4+
5+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.