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
id: no-nullable-boolean
language: Kotlin
severity: hint
message: Avoid `Boolean?`; use `Boolean` with a default value instead.
note: |
  Nullable `Boolean?` has three states (`true`, `false`, `null`) which
  complicates control flow. Use `Boolean` with a default value of
  `false` or `true`, or use a sealed class/enum for tri-state logic.
rule:
  pattern: ": Boolean?"
files:
  - "**/*.kt"
  - "**/*.kts"