Skip to content

Commit e505ce3

Browse files
committed
fix(lint): allow String fields in vp_global_commands
clap derive requires owned String fields. The types were previously covered by the crate-level allow in vp_global_cli; carry the same exemption that vp_pm_cli uses for its clap surface.
1 parent e3da634 commit e505ce3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • crates/vp_global_commands/src

crates/vp_global_commands/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
//! enum, and the local CLI binding uses [`is_global_only`] to recognise these
55
//! names so the two surfaces cannot drift apart.
66
7+
// clap derive surfaces require owned `String` fields, as in `vp_pm_cli`.
8+
#![allow(clippy::allow_attributes, clippy::disallowed_types)]
9+
710
use clap::{Subcommand, builder::Command};
811

912
/// Commands that only the global `vp` binary can run.

0 commit comments

Comments
 (0)