mirror of
https://github.com/thegeeklab/git-sv.git
synced 2024-11-21 22:10:39 +00:00
chore: add lint prefix to autofix
This commit is contained in:
parent
dee7890569
commit
893213399c
4
Makefile
4
Makefile
@ -37,8 +37,8 @@ lint:
|
|||||||
@echo $(ECHOFLAGS) "$(OK_COLOR)==> Running golangci-lint...$(NO_COLOR)"
|
@echo $(ECHOFLAGS) "$(OK_COLOR)==> Running golangci-lint...$(NO_COLOR)"
|
||||||
@golangci-lint run ./... --config .golangci.yml
|
@golangci-lint run ./... --config .golangci.yml
|
||||||
|
|
||||||
## autofix: run golangci-lint with autofix enabled
|
## lint-autofix: run golangci-lint with autofix enabled
|
||||||
autofix:
|
lint-autofix:
|
||||||
@echo $(ECHOFLAGS) "$(OK_COLOR)==> Running golangci-lint...$(NO_COLOR)"
|
@echo $(ECHOFLAGS) "$(OK_COLOR)==> Running golangci-lint...$(NO_COLOR)"
|
||||||
@golangci-lint run ./... --config .golangci.yml --fix
|
@golangci-lint run ./... --config .golangci.yml --fix
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user