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:
parent
fb8901e1e8
commit
d04eea634a
1 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue