We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6f1bc3 commit dbe1337Copy full SHA for dbe1337
1 file changed
shell/linters/protobuf.sh
@@ -25,15 +25,12 @@ buf_formatter() {
25
}
26
27
buf_lint_linter() {
28
- # Why: We're OK with this.
29
- # shellcheck disable=SC2155
30
- local PROTOFMT=$(load_tool)
31
- find_files_with_extensions "${extensions[@]}" | xargs -n1 "$PROTOFMT" lint --path
+ run_buf lint
32
33
34
linter() {
35
- run_command "buf" buf_linter
36
- run_command "buf" buf_lint_linter
+ run_command "buf format" buf_linter
+ run_command "buf lint" buf_lint_linter
37
38
39
formatter() {
0 commit comments