Skip to content

Commit

Permalink
split up linter run across smaller sections of the source code
Browse files Browse the repository at this point in the history
  • Loading branch information
0pcom committed Sep 22, 2024
1 parent 19f31bf commit e09b250
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,10 @@ install-static: ## Install `skywire-visor`, `skywire-cli`, `setup-node`

lint: ## Run linters. Use make install-linters first
golangci-lint --version
${OPTS} golangci-lint run -c .golangci.yml ./...
${OPTS} golangci-lint run -c .golangci.yml skywire.go #break down the linter run over smaller sections of the source code
${OPTS} golangci-lint run -c .golangci.yml ./cmd/...
${OPTS} golangci-lint run -c .golangci.yml ./pkg/...
${OPTS} golangci-lint run -c .golangci.yml ./...

lint-windows: ## Run linters. Use make install-linters-windows first
powershell 'golangci-lint --version'
Expand Down

0 comments on commit e09b250

Please sign in to comment.