vtcode 0.128.4

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
id: prefer-is-empty
valid:
  - |
      if (list.isEmpty()) return
  - |
      if (str.isEmpty()) return
invalid:
  - |
      if (list.size == 0) return
  - |
      if (str.length == 0) return
  - |
      if (items.count() == 0) return
  - |
      if (list.size <= 0) return