Skip to content

Commit 68fa0a2

Browse files
committed
justfile: Make 'just lint' run clippy with all default lints turned on
Note that that also means that we run 'cargo clippy' in CI because the CI workflow runs 'just lint'
1 parent 09bcbf3 commit 68fa0a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

justfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ format *EXTRA_FLAGS:
77
cargo fmt --all {{EXTRA_FLAGS}}
88

99
# Run Clippy linting (cargo clippy)
10-
lint:
11-
cargo clippy --no-deps -- --allow warnings
10+
lint *EXTRA_FLAGS:
11+
cargo clippy {{EXTRA_FLAGS}}
1212

1313
# Check Rust code (cargo check)
1414
check *EXTRA_FLAGS:

0 commit comments

Comments
 (0)