From 7bee0c69bae206165cdc0f7a6693185a70050700 Mon Sep 17 00:00:00 2001 From: srdtrk Date: Sun, 21 Jul 2024 22:57:07 +0800 Subject: [PATCH] imp: added lint to justfile --- justfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/justfile b/justfile index 82d5bdd..2a72c24 100644 --- a/justfile +++ b/justfile @@ -79,3 +79,12 @@ operator: test-e2e testname: echo "Running {{testname}} test..." cd e2e/interchaintestv8 && go test -v -run=TestWithSP1ICS07TendermintTestSuite/{{testname}} -timeout 40m + +# Lint the Rust, Solidity, and Go code using `cargo fmt`, `forge fmt`, and `golanci-lint` commands +lint: + @echo "Linting the Rust code..." + cargo fmt + @echo "Linting the Solidity code..." + forge fmt + @echo "Linting the Go code..." + cd e2e/interchaintestv8 && golangci-lint run --fix