ente/server/scripts/lint.sh

13 lines
248 B
Bash
Raw Normal View History

2024-03-01 08:07:01 +00:00
#!/bin/sh
# Run the configured linters.
#
# These checks will run when a PR is opened and new commits are pushed, but it
# can also be run locally.
set -o errexit
set -o xtrace
go vet ./...
go run honnef.co/go/tools/cmd/staticcheck@latest ./...