build: rename revive.toml to .revive.toml

This commit is contained in:
Vincent Bernat
2025-11-15 10:00:53 +01:00
parent bb5a881c09
commit 7b272fc965
2 changed files with 2 additions and 2 deletions

View File

@@ -239,8 +239,8 @@ test-coverage-js: ; $(info $(M) running JS coverage tests…) @ ## Run JS covera
.PHONY: lint
lint: .lint-go~ .lint-js~ ## Run linting
.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 ./...
.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 touch $@
.lint-js~: $(shell $(LSFILES) '*.js' '*.ts' '*.vue' '*.html' 2> /dev/null)
.lint-js~: $(GENERATED_JS) ; $(info $(M) running jslint)