mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
build: rename revive.toml to .revive.toml
This commit is contained in:
4
Makefile
4
Makefile
@@ -239,8 +239,8 @@ test-coverage-js: ; $(info $(M) running JS coverage tests…) @ ## Run JS covera
|
|||||||
|
|
||||||
.PHONY: lint
|
.PHONY: lint
|
||||||
lint: .lint-go~ .lint-js~ ## Run linting
|
lint: .lint-go~ .lint-js~ ## Run linting
|
||||||
.lint-go~: revive.toml $(shell $(LSFILES) '*.go' 2> /dev/null) ; $(info $(M) running golint…)
|
.lint-go~: .revive.toml $(shell $(LSFILES) '*.go' 2> /dev/null) ; $(info $(M) running golint…)
|
||||||
$Q $(REVIVE) -config $(PWD)/revive.toml -formatter stylish -set_exit_status ./...
|
$Q $(REVIVE) -config $(PWD)/.revive.toml -formatter stylish -set_exit_status ./...
|
||||||
$Q touch $@
|
$Q touch $@
|
||||||
.lint-js~: $(shell $(LSFILES) '*.js' '*.ts' '*.vue' '*.html' 2> /dev/null)
|
.lint-js~: $(shell $(LSFILES) '*.js' '*.ts' '*.vue' '*.html' 2> /dev/null)
|
||||||
.lint-js~: $(GENERATED_JS) ; $(info $(M) running jslint…)
|
.lint-js~: $(GENERATED_JS) ; $(info $(M) running jslint…)
|
||||||
|
|||||||
Reference in New Issue
Block a user