1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-01 14:47:47 +00:00

fix: cargo clippy linting flags need to accept strings (#947)

The linting flags `--warn`, `--deny`, `--allow` and `--forbid` have
`string` type rather than `bool`

Signed-off-by: OJarrisonn <j.h.m.t.v.10@gmail.com>
This commit is contained in:
Harrisonn 2024-09-11 19:51:33 -03:00 committed by GitHub
parent fb8901e1e8
commit d04eea634a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -497,10 +497,10 @@ export extern "cargo clippy" [
--fix # Automatically apply lint suggestions. This flag implies `--no-deps
--version(-V) # Prints version information
--help(-h) # Prints help information
--warn(-W) # Set lint warnings
--allow(-A) # Set lint allowed
--deny(-D) # Set lint denied
--forbid(-F) # Set lint forbidden
--warn(-W): string # Set lint warnings
--allow(-A): string # Set lint allowed
--deny(-D): string # Set lint denied
--forbid(-F): string # Set lint forbidden
--package(-p): string@"nu-complete cargo packages" #Check only the specified packages
--workspace # Check all members in the workspace
--all # Alias for --workspace (deprecated)