Skip to content

Commit da00c19

Browse files
committed
Fix clippy precious config
1 parent ad64d32 commit da00c19

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.precious.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ exclude = [
55
]
66

77
[commands.clippy]
8-
type = "lint"
8+
type = "both"
99
include = "**/*.rs"
1010
invoke = "once"
1111
path-args = "none"
12-
cmd = ["cargo", "clippy", "--all-features", "--", "-D", "warnings"]
12+
cmd = ["cargo", "clippy"]
13+
lint-flags = ["--", "-D", "warnings"]
14+
tidy-flags = ["--fix", "--allow-dirty", "--allow-staged"]
1315
ok-exit-codes = [0]
1416
lint-failure-exit-codes = [101]
1517
expect-stderr = true

0 commit comments

Comments
 (0)