diff options
author | silverwind <me@silverwind.io> | 2024-03-06 02:48:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-06 02:48:14 +0100 |
commit | c481dba52c00c331903689291cf946330be9fb3e (patch) | |
tree | 616ec4d0586f4dc5da536dcda834208312a04756 /Makefile | |
parent | 06039bf0b7ec4dffe74ae323b8bbbbedec69d0c8 (diff) | |
download | gitea-c481dba52c00c331903689291cf946330be9fb3e.tar.gz gitea-c481dba52c00c331903689291cf946330be9fb3e.zip |
Run editorconfig-checker on `locale_en-US.ini` (#29608)
Will prevent trailing whitespace etc being introduced in this file.
---------
Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -147,6 +147,7 @@ GO_DIRS := build cmd models modules routers services tests WEB_DIRS := web_src/js web_src/css SPELLCHECK_FILES := $(GO_DIRS) $(WEB_DIRS) docs/content templates options/locale/locale_en-US.ini .github +EDITORCONFIG_FILES := templates .github/workflows options/locale/locale_en-US.ini GO_SOURCES := $(wildcard *.go) GO_SOURCES += $(shell find $(GO_DIRS) -type f -name "*.go" ! -path modules/options/bindata.go ! -path modules/public/bindata.go ! -path modules/templates/bindata.go) @@ -426,7 +427,7 @@ lint-go-vet: .PHONY: lint-editorconfig lint-editorconfig: - $(GO) run $(EDITORCONFIG_CHECKER_PACKAGE) templates .github/workflows + @$(GO) run $(EDITORCONFIG_CHECKER_PACKAGE) $(EDITORCONFIG_FILES) .PHONY: lint-actions lint-actions: |