generated from bazel-contrib/rules-template
-
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: bring linters under rules_multitool (#203)
* refactor: bring shellcheck under rules_multitool BREAKING CHANGE: you no longer need any fetch_shellcheck calls. Replace references of a local shellcheck binary with @multitool//tools/shellcheck * chore: update doc * refactor: multitool for golangci-lint as well
- Loading branch information
Showing
13 changed files
with
91 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/theoremlp/rules_multitool/main/lockfile.schema.json", | ||
"golangci-lint": { | ||
"binaries": [ | ||
{ | ||
"os": "linux", | ||
"cpu": "x86_64", | ||
"kind": "archive", | ||
"url": "https://github.com/golangci/golangci-lint/releases/download/v1.55.2/golangci-lint-1.55.2-linux-amd64.tar.gz", | ||
"sha256": "ca21c961a33be3bc15e4292dc40c98c8dcc5463a7b6768a3afc123761630c09c", | ||
"file": "golangci-lint-1.55.2-linux-amd64/golangci-lint" | ||
}, | ||
{ | ||
"os": "linux", | ||
"cpu": "arm64", | ||
"kind": "archive", | ||
"url": "https://github.com/golangci/golangci-lint/releases/download/v1.55.2/golangci-lint-1.55.2-linux-arm64.tar.gz", | ||
"sha256": "8eb0cee9b1dbf0eaa49871798c7f8a5b35f2960c52d776a5f31eb7d886b92746", | ||
"file": "golangci-lint-1.55.2-linux-arm64/golangci-lint" | ||
}, | ||
{ | ||
"os": "macos", | ||
"cpu": "x86_64", | ||
"kind": "archive", | ||
"url": "https://github.com/golangci/golangci-lint/releases/download/v1.55.2/golangci-lint-1.55.2-darwin-amd64.tar.gz", | ||
"sha256": "632e96e6d5294fbbe7b2c410a49c8fa01c60712a0af85a567de85bcc1623ea21", | ||
"file": "golangci-lint-1.55.2-darwin-amd64/golangci-lint" | ||
}, | ||
{ | ||
"os": "macos", | ||
"cpu": "arm64", | ||
"kind": "archive", | ||
"url": "https://github.com/golangci/golangci-lint/releases/download/v1.55.2/golangci-lint-1.55.2-darwin-arm64.tar.gz", | ||
"sha256": "234463f059249f82045824afdcdd5db5682d0593052f58f6a3039a0a1c3899f6", | ||
"file": "golangci-lint-1.55.2-darwin-arm64/golangci-lint" | ||
} | ||
] | ||
}, | ||
"shellcheck": { | ||
"binaries": [ | ||
{ | ||
"kind": "archive", | ||
"os": "macos", | ||
"cpu": "x86_64", | ||
"url": "https://github.com/koalaman/shellcheck/releases/download/v0.10.0/shellcheck-v0.10.0.darwin.x86_64.tar.xz", | ||
"sha256": "ef27684f23279d112d8ad84e0823642e43f838993bbb8c0963db9b58a90464c2", | ||
"file": "shellcheck-v0.10.0/shellcheck" | ||
}, | ||
{ | ||
"kind": "archive", | ||
"os": "macos", | ||
"cpu": "arm64", | ||
"url": "https://github.com/koalaman/shellcheck/releases/download/v0.10.0/shellcheck-v0.10.0.darwin.aarch64.tar.xz", | ||
"sha256": "bbd2f14826328eee7679da7221f2bc3afb011f6a928b848c80c321f6046ddf81", | ||
"file": "shellcheck-v0.10.0/shellcheck" | ||
}, | ||
{ | ||
"kind": "archive", | ||
"os": "linux", | ||
"cpu": "arm64", | ||
"url": "https://github.com/koalaman/shellcheck/releases/download/v0.10.0/shellcheck-v0.10.0.linux.aarch64.tar.xz", | ||
"sha256": "324a7e89de8fa2aed0d0c28f3dab59cf84c6d74264022c00c22af665ed1a09bb", | ||
"file": "shellcheck-v0.10.0/shellcheck" | ||
}, | ||
{ | ||
"kind": "archive", | ||
"os": "linux", | ||
"cpu": "x86_64", | ||
"url": "https://github.com/koalaman/shellcheck/releases/download/v0.10.0/shellcheck-v0.10.0.linux.x86_64.tar.xz", | ||
"sha256": "6c881ab0698e4e6ea235245f22832860544f17ba386442fe7e9d629f8cbedf87", | ||
"file": "shellcheck-v0.10.0/shellcheck" | ||
} | ||
] | ||
} | ||
} |
Oops, something went wrong.