Skip to content

Commit

Permalink
Merge pull request #1875 from CatherineF-dev/update-develop-doc
Browse files Browse the repository at this point in the history
Update development doc
  • Loading branch information
k8s-ci-robot authored Jan 16, 2023
2 parents 63db483 + 5b6ea71 commit c752152
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ linters:

linters-settings:
goimports:
local-prefixes: k8s.io/kube-state-metrics
local-prefixes: k8s.io/kube-state-metrics,k8s.io/kube-state-metrics/v2

issues:
exclude-use-default: false
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ licensecheck:
lint: shellcheck licensecheck
golangci-lint run

lint-fix:
golangci-lint run --fix -v

doccheck: generate
@echo "- Checking if the generated documentation is up to date..."
@git diff --exit-code
Expand Down Expand Up @@ -154,4 +157,4 @@ install-promtool:
@wget -qO- "https://github.com/prometheus/prometheus/releases/download/v${PROMETHEUS_VERSION}/prometheus-${PROMETHEUS_VERSION}.${OS}-${ARCH}.tar.gz" |\
tar xvz --strip-components=1 prometheus-${PROMETHEUS_VERSION}.${OS}-${ARCH}/promtool

.PHONY: all build build-local all-push all-container container container-* do-push-* sub-push-* push push-multi-arch test-unit test-rules test-benchmark-compare clean e2e validate-modules shellcheck licensecheck lint generate embedmd
.PHONY: all build build-local all-push all-container container container-* do-push-* sub-push-* push push-multi-arch test-unit test-rules test-benchmark-compare clean e2e validate-modules shellcheck licensecheck lint lint-fix generate embedmd

0 comments on commit c752152

Please sign in to comment.