Skip to content

Commit 391cc60

Browse files
committed
move misspellings.csv to root and lint tools directory as a whole
1 parent 9f7a859 commit 391cc60

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ WEB_DIRS := web_src/js web_src/css
168168

169169
ESLINT_FILES := web_src/js tools *.ts tests/e2e
170170
STYLELINT_FILES := web_src/css web_src/js/components/*.vue
171-
SPELLCHECK_FILES := $(filter-out tools, $(GO_DIRS)) $(WEB_DIRS) templates options/locale/locale_en-US.ini .github $(filter-out CHANGELOG.md, $(wildcard *.go *.md *.yml *.yaml *.toml)) $(filter-out tools/misspellings.csv, $(wildcard tools/*))
171+
SPELLCHECK_FILES := $(GO_DIRS) $(WEB_DIRS) templates options/locale/locale_en-US.ini .github $(filter-out CHANGELOG.md, $(wildcard *.go *.md *.yml *.yaml *.toml))
172172
EDITORCONFIG_FILES := templates .github/workflows options/locale/locale_en-US.ini
173173

174174
GO_SOURCES := $(wildcard *.go)
@@ -376,11 +376,11 @@ lint-md: node_modules ## lint markdown files
376376

377377
.PHONY: lint-spell
378378
lint-spell: ## lint spelling
379-
@go run $(MISSPELL_PACKAGE) -dict tools/misspellings.csv -error $(SPELLCHECK_FILES)
379+
@go run $(MISSPELL_PACKAGE) -dict misspellings.csv -error $(SPELLCHECK_FILES)
380380

381381
.PHONY: lint-spell-fix
382382
lint-spell-fix: ## lint spelling and fix issues
383-
@go run $(MISSPELL_PACKAGE) -dict tools/misspellings.csv -w $(SPELLCHECK_FILES)
383+
@go run $(MISSPELL_PACKAGE) -dict misspellings.csv -w $(SPELLCHECK_FILES)
384384

385385
.PHONY: lint-go
386386
lint-go: ## lint go files
File renamed without changes.

0 commit comments

Comments
 (0)