Skip to content

Commit c10df15

Browse files
committed
chore(doc): update clippy in core/CONTRIBUTING.md to align ci
1 parent b51c577 commit c10df15

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/CONTRIBUTING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@
44

55
- `cargo check` to analyze the current package and report errors.
66
- `cargo build` to compile the current package.
7-
- `cargo clippy` to catch common mistakes and improve code.
7+
- `cargo clippy --workspace --all-targets --all-features -- -D warnings` to catch common mistakes and improve code.
88
- `cargo test --features tests` to run unit tests.
99
- `cargo test` to run unit tests include doc tests.
1010
- `cargo bench` to run benchmark tests.
1111

1212
Useful tips:
1313

14+
- Run linter for specific services: `cargo clippy --all-targets --features=services-s3 -- -D warnings`
1415
- Check/Build/Test/Clippy all code: `cargo <cmd> --tests --benches --examples`
1516
- Test specific function: `cargo test tests::it::services::fs`
1617

0 commit comments

Comments
 (0)