elvish/tools/lint.sh
Qi Xiao 671c76be00 Add a lint Makefile target and CI task.
Both run staticcheck and go vet (but not golint).

Also make some small changes necessary to make the codebase lint-free under
staticcheck.
2021-07-08 00:13:38 +01:00

4 lines
44 B
Bash
Executable File

#!/bin/sh -e
go vet ./...
staticcheck ./...