Files
cline/apps/vscode/scripts/proto-lint.sh
T
Tomás BarreiroandSaoud Rizwan 791d238996 Move vscode to apps (#10961)
* Move all vscode related files to /apps/vscode

* Fix launch and biome

* Ignore generated files

* Remove unused icons

* fix tsconfig

* Update workflows (#10962)

* Add default branch

* Move files to the right dir

* fix: add vscode publish README placeholder

---------

Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
2026-05-25 21:35:59 +02:00

16 lines
299 B
Bash
Executable File

#!/bin/bash
set -u
buf lint
if ! buf format -w --exit-code; then
echo Proto files were formatted
fi
if grep -rn "rpc .*[A-Z][A-Z].*[(]" --include="*.proto"; then
# See https://github.com/cline/cline/pull/7054
echo Error: Proto RPC names cannot contain repeated capital letters
exit 1
fi