From b87aafcfc0535afc1065534bf72bb19eac826ffb Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Wed, 10 Sep 2025 15:14:29 -0700 Subject: [PATCH] feat: no any type rule --- .continue/rules/no-any-types.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .continue/rules/no-any-types.md diff --git a/.continue/rules/no-any-types.md b/.continue/rules/no-any-types.md new file mode 100644 index 000000000..1ec5f4f3e --- /dev/null +++ b/.continue/rules/no-any-types.md @@ -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.