@@ -27,7 +27,7 @@ XGO_VERSION := go-1.25.x
2727
2828AIR_PACKAGE  ?= github.com/air-verse/air@v1
2929EDITORCONFIG_CHECKER_PACKAGE  ?= github.com/editorconfig-checker/editorconfig-checker/v3/cmd/editorconfig-checker@v3
30- GOFUMPT_PACKAGE  ?= mvdan.cc/gofumpt@v0.8.0 
30+ GOFUMPT_PACKAGE  ?= mvdan.cc/gofumpt@v0.9.1 
3131GOLANGCI_LINT_PACKAGE  ?= github.com/golangci/golangci-lint/v2/cmd/
[email protected] 3232GXZ_PACKAGE  ?= github.com/ulikunitz/xz/cmd/
[email protected] 3333MISSPELL_PACKAGE  ?= github.com/golangci/misspell/cmd/
[email protected] @@ -162,7 +162,7 @@ TAR_EXCLUDES := .git data indexers queues log node_modules $(EXECUTABLE) $(DIST)
162162GO_DIRS  := build cmd models modules routers services tests
163163WEB_DIRS  := web_src/js web_src/css
164164
165- ESLINT_FILES  := web_src/js tools *.ts *.cjs  tests/e2e
165+ ESLINT_FILES  := web_src/js tools *.ts tests/e2e
166166STYLELINT_FILES  := web_src/css web_src/js/components/*.vue
167167SPELLCHECK_FILES  := $(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/* ) ) 
168168EDITORCONFIG_FILES  := templates .github/workflows options/locale/locale_en-US.ini
@@ -346,12 +346,12 @@ lint-backend-fix: lint-go-fix lint-go-gitea-vet lint-editorconfig ## lint backen
346346
347347.PHONY : lint-js
348348lint-js : node_modules # # lint js files
349- 	$(NODE_VARS )  pnpm exec  eslint --color --max-warnings=0 --ext js,ts,vue  $(ESLINT_FILES ) 
349+ 	$(NODE_VARS )  pnpm exec  eslint --color --max-warnings=0 --flag unstable_native_nodejs_ts_config  $(ESLINT_FILES ) 
350350	$(NODE_VARS )  pnpm exec  vue-tsc
351351
352352.PHONY : lint-js-fix
353353lint-js-fix : node_modules # # lint js files and fix issues
354- 	$(NODE_VARS )  pnpm exec  eslint --color --max-warnings=0 --ext js,ts,vue  $(ESLINT_FILES )  --fix
354+ 	$(NODE_VARS )  pnpm exec  eslint --color --max-warnings=0 --flag unstable_native_nodejs_ts_config  $(ESLINT_FILES )  --fix
355355	$(NODE_VARS )  pnpm exec  vue-tsc
356356
357357.PHONY : lint-css
0 commit comments