vtcode 0.123.7

A Rust-based terminal coding agent with modular architecture supporting multiple LLM providers
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
id: no-any
language: TypeScript
severity: warning
message: Avoid the `any` type; use `unknown` or specific types instead.
note: |
  The `any` type disables TypeScript's type checking and defeats the
  purpose of using TypeScript. Use `unknown` for values with unknown
  type, or define proper types/interfaces. `any` is acceptable during
  migration or when interfacing with untyped third-party libraries.
rule:
  kind: type_annotation
  pattern: ": any"
files:
  - "**/*.ts"
  - "**/*.tsx"
  - "!**/*.d.ts"
  - "!**/examples/**"