From 688cc2320d1565755a619856408ef7bdbbe847bf Mon Sep 17 00:00:00 2001 From: silverwind Date: Thu, 18 Apr 2024 20:54:40 +0200 Subject: [PATCH] Add a few root files to lint-spell (#30530) Files in root were not linted, add them. No new violations. (cherry picked from commit 354705450a410329d253023d2c66ef6d68ecc046) Conflicts: - CHANGELOG.md Gitea specific, removed. - Makefile Adjusted SPELLCHECK_FILES: we don't need to filter the CHANGELOG.md out. The conflict itself was resolved by manually applying the change. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2d34e96fa8..6e46283ac8 100644 --- a/Makefile +++ b/Makefile @@ -154,9 +154,9 @@ TAR_EXCLUDES := .git data indexers queues log node_modules $(EXECUTABLE) $(FOMAN GO_DIRS := build cmd models modules routers services tests WEB_DIRS := web_src/js web_src/css -ESLINT_FILES := web_src/js tools *.config.js tests/e2e +ESLINT_FILES := web_src/js tools *.js tests/e2e STYLELINT_FILES := web_src/css web_src/js/components/*.vue -SPELLCHECK_FILES := $(GO_DIRS) $(WEB_DIRS) docs/content templates options/locale/locale_en-US.ini .github +SPELLCHECK_FILES := $(GO_DIRS) $(WEB_DIRS) docs/content templates options/locale/locale_en-US.ini .github $(wildcard *.go *.js *.md *.yml *.yaml *.toml) 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)