vtcode 0.123.10

A Rust-based terminal coding agent with modular architecture supporting multiple LLM providers
id: prefer-string-is-empty
valid:
  - |
      if (str.isEmpty()) {
          return;
      }
  - |
      if (str == null || str.isEmpty()) {
          return;
      }
  - |
      if (str.length() > 0) {
          process(str);
      }
invalid:
  - |
      if (str.length() == 0) {
          return;
      }
  - |
      if (str.equals("")) {
          return;
      }