File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ versions. Here are the cli tools we use:
127127- Nightly [ cargo fmt] ( https://github.com/rust-lang/rustfmt ) and
128128 [ cargo udeps] ( https://github.com/est31/cargo-udeps )
129129- [ rust clippy] ( https://github.com/rust-lang/rust-clippy )
130+ - [ cargo dylint] ( https://github.com/trailofbits/dylint )
130131- [ cargo sort] ( https://github.com/DevinR528/cargo-sort )
131132- [ prettier] ( https://github.com/prettier/prettier )
132133
@@ -140,6 +141,7 @@ export RUSTFLAGS="-D warnings"
140141cargo +nightly fmt --check
141142cargo +nightly udeps --workspace --all-features
142143cargo clippy --all-features --all-targets
144+ cargo dylint --all
143145cargo sort --workspace --check
144146npm run lint
145147```
Original file line number Diff line number Diff line change 11export default {
22 "*" : "prettier --cache --ignore-unknown --write" ,
3- "*.rs" : ( stagedFiles ) => [ "cargo +nightly fmt" , "cargo clippy --all-features --all-targets" ] ,
3+ "*.rs" : ( stagedFiles ) => [
4+ "cargo +nightly fmt" ,
5+ "cargo clippy --all-features --all-targets" ,
6+ "cargo dylint --all" ,
7+ ] ,
48 "Cargo.toml" : ( stagedFiles ) => [
59 "cargo +nightly fmt" ,
610 "cargo +nightly udeps --workspace --all-features" ,
You can’t perform that action at this time.
0 commit comments