Skip to content

Commit dd82af7

Browse files
chore: add cargo fmt and cargo clippy for stylus sdk
1 parent 5a15e17 commit dd82af7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.pre-commit-config.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,3 +163,15 @@ repos:
163163
entry: cargo +1.82.0 clippy --manifest-path ./lazer/Cargo.toml --all-targets -- --deny warnings
164164
pass_filenames: false
165165
files: lazer
166+
- id: cargo-fmt-stylus-sdk
167+
name: Cargo format for Stylus SDK
168+
language: "rust"
169+
entry: cargo +1.82.0 fmt --manifest-path ./target_chains/ethereum/sdk/stylus/Cargo.toml --all
170+
pass_filenames: false
171+
files: target_chains/ethereum/sdk/stylus
172+
- id: cargo-clippy-stylus-sdk
173+
name: Cargo clippy for Stylus SDK
174+
language: "rust"
175+
entry: cargo +1.82.0 clippy --manifest-path ./target_chains/ethereum/sdk/stylus/Cargo.toml --all-targets -- --deny warnings
176+
pass_filenames: false
177+
files: target_chains/ethereum/sdk/stylus

0 commit comments

Comments
 (0)