mirror of https://github.com/databricks/cli.git
add 'make lintfix' command
This commit is contained in:
parent
5479cf2eda
commit
e852499473
4
Makefile
4
Makefile
|
@ -10,6 +10,10 @@ lint: vendor
|
||||||
@echo "✓ Linting source code with https://golangci-lint.run/ ..."
|
@echo "✓ Linting source code with https://golangci-lint.run/ ..."
|
||||||
@golangci-lint run ./...
|
@golangci-lint run ./...
|
||||||
|
|
||||||
|
lintfix: vendor
|
||||||
|
@echo "✓ Linting source code with 'golangci-lint run --fix' ..."
|
||||||
|
@golangci-lint run --fix ./...
|
||||||
|
|
||||||
test: lint testonly
|
test: lint testonly
|
||||||
|
|
||||||
testonly:
|
testonly:
|
||||||
|
|
Loading…
Reference in New Issue