mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-17 16:38:54 +00:00
Add how-to-lint rules to README-dev.md and CLAUDE.md (#2175)
This commit is contained in:
parent
e0ed7e469c
commit
06eb706055
3 changed files with 33 additions and 2 deletions
7
Makefile
7
Makefile
|
|
@ -79,6 +79,11 @@ fmt format:
|
|||
staticcheck:
|
||||
staticcheck ./pkg/... ./cmd/mlr/...
|
||||
|
||||
# Needs first: https://golangci-lint.run/welcome/install/#local-installation
|
||||
# Config lives in .golangci.yml; same invocation as .github/workflows/golangci-lint.yml
|
||||
lint:
|
||||
golangci-lint run ./cmd/mlr ./pkg/...
|
||||
|
||||
# ----------------------------------------------------------------
|
||||
# For developers before pushing to GitHub.
|
||||
#
|
||||
|
|
@ -125,4 +130,4 @@ release_tarball release-tarball: build check
|
|||
|
||||
# ================================================================
|
||||
# Go does its own dependency management, outside of make.
|
||||
.PHONY: build mlr check unit_test regression_test bench fmt staticcheck dev docs man
|
||||
.PHONY: build mlr check unit_test regression_test bench fmt staticcheck lint dev docs man
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue