gitea/build
silverwind 26b17537e6
Add `eslint-plugin-github` and fix issues ()
This plugin has a few useful rules. The only thing I dislike about it is
that it pulls in a rather big number of dependencies for react-related
rules we don't use, but it can't really be avoided.

Rule docs:
https://github.com/github/eslint-plugin-github?tab=readme-ov-file#rules
..
codeformat Implement FSFE REUSE for golang files ()
backport-locales.go Use `Set[Type]` instead of `map[Type]bool/struct{}`. ()
code-batch-process.go Replace `interface{}` with `any` ()
generate-bindata.go Change use of Walk to WalkDir to improve disk performance ()
generate-emoji.go Update emoji set to Unicode 15 ()
generate-gitignores.go Remove legacy `+build:` constraint ()
generate-go-licenses.go Use `Set[Type]` instead of `map[Type]bool/struct{}`. ()
generate-images.js Add `eslint-plugin-github` and fix issues ()
generate-licenses.go Remove deprecated licenses ()
generate-svg.js Add `eslint-plugin-github` and fix issues ()
gocovmerge.go Implement FSFE REUSE for golang files ()
test-echo.go Clean some legacy files and move some build files ()
test-env-check.sh Prepare and check test env during CI ()
test-env-prepare.sh Prepare and check test env during CI ()
update-locales.sh Clarify Gitea/Crowdin locale behaviors, add tests for LocaleStore, fix some strings with semicolons ()
watch.sh Reduce verbosity of dev commands ()