13 lines
183 B
Bash
Executable File
13 lines
183 B
Bash
Executable File
#!/bin/sh
|
|
# script/lint: run the linter.
|
|
set -eu
|
|
|
|
ROOT="$(cd "$(dirname "$0")/.." && pwd -P)"
|
|
|
|
main() {
|
|
cd "$ROOT"
|
|
golangci-lint run --config .golangci.yml ./...
|
|
}
|
|
|
|
main "$@"
|