Static analysis
3 tools
| Tool | Kind | Command | Runs in | Found in |
|---|---|---|---|---|
go-vet |
Linting | go vet -tags $(NOWEB_TAG) ./... |
local | Makefile |
golangci-lint |
Linting | uses golangci/golangci-lint-action |
ci | .github/workflows/golangci-lint.yml .golangci.yml |
eslintconfigured, not run |
Linting | web/frpc/eslint.config.js web/frps/eslint.config.js |
Testing
2 tools
| Tool | Kind | Command | Runs in | Found in |
|---|---|---|---|---|
go-test |
Unit and integration tests | go test -tags $(NOWEB_TAG) -v --cover ./assets/...go test -tags $(NOWEB_TAG) -v --cover ./cmd/...go test -tags $(NOWEB_TAG) -v --cover ./client/... |
local | Makefile |
vitest |
Unit and integration tests | vitest runvitest |
ci, local | .github/workflows/golangci-lint.yml Makefile web/package.json web/vitest.config.mts |
Formatting and hygiene
2 tools
| Tool | Kind | Command | Runs in | Found in |
|---|---|---|---|---|
gofmt |
Formatting | go fmt ./...gofumpt -l -w . |
local | Makefile |
prettierconfigured, not run |
Formatting | web/frpc/.prettierrc.json web/frps/.prettierrc.json |
Review prompts
most discussed first