msrv = "1.88"
cognitive-complexity-threshold = 75
too-many-arguments-threshold = 9
disallowed-methods = [
{ path = "std::panic::panic_any", reason = "Use anyhow/thiserror for error handling instead" },
]
absolute-paths-allowed-crates = [
"vtcode",
"vtcode-core",
"vtcode-commons",
"vtcode-config",
"vtcode-tui",
"vtcode-llm",
"vtcode-lmstudio",
"vtcode-markdown-store",
"vtcode-indexer",
"vtcode-tools",
"vtcode-bash-runner",
"vtcode-exec-events",
"vtcode-file-search",
"vtcode-acp-client",
"vtcode-process-hardening",
]
arithmetic-side-effects-allowed = [
"u8", "u16", "u32", "u64", "u128", "usize",
"i8", "i16", "i32", "i64", "i128", "isize",
]
ignore-interior-mutability = [
"std::sync::atomic::AtomicBool",
"std::sync::atomic::AtomicUsize",
"std::cell::RefCell",
"std::cell::Cell",
"parking_lot::Mutex",
"parking_lot::RwLock",
"tokio::sync::Mutex",
"tokio::sync::RwLock",
]