forgejo/services/doctor
Yaroslav Halchenko 2b2fd2728c Add codespell support and fix a good number of typos with its help (#3270)
More about codespell: https://github.com/codespell-project/codespell .

I personally introduced it to dozens if not hundreds of projects already and so far only positive feedback.

```
❯ grep lint-spell Makefile
	@echo " - lint-spell                       lint spelling"
	@echo " - lint-spell-fix                   lint spelling and fix issues"
lint: lint-frontend lint-backend lint-spell
lint-fix: lint-frontend-fix lint-backend-fix lint-spell-fix
.PHONY: lint-spell
lint-spell: lint-codespell
.PHONY: lint-spell-fix
lint-spell-fix: lint-codespell-fix
❯ git grep lint- -- .forgejo/
.forgejo/workflows/testing.yml:      - run: make --always-make -j$(nproc) lint-backend checks-backend # ensure the "go-licenses" make target runs
.forgejo/workflows/testing.yml:      - run: make lint-frontend
```
so how would you like me to invoke `lint-codespell` on CI? (without that would be IMHO very suboptimal and let typos sneak in)

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3270
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Yaroslav Halchenko <debian@onerussian.com>
Co-committed-by: Yaroslav Halchenko <debian@onerussian.com>
2024-05-09 13:49:37 +00:00
..
authorizedkeys.go Fix some pending problems (#29985) 2024-03-26 19:04:26 +01:00
breaking.go
checkOldArchives.go
dbconsistency.go Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
dbversion.go
doctor.go feat: add optional storage init to doctor commands 2024-04-04 17:21:12 +02:00
fix8312.go
fix16961.go Fix panic for fixBrokenRepoUnits16961 (#30068) 2024-03-30 07:17:30 +01:00
fix16961_test.go
heads.go
lfs.go Refactor LFS GC functions 2024-04-05 16:49:15 +02:00
mergebase.go
misc.go Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
packages_nuget.go Enable more revive linter rules (#30608) 2024-04-28 15:39:00 +02:00
paths.go
push_mirror_consistency.go [GITEA] new doctor check: fix-push-mirrors-without-git-remote (#1853) 2024-02-05 16:09:41 +01:00
repository.go
storage.go Resolve lint for unused parameter and unnecessary type arguments (#30750) 2024-05-05 08:38:16 +01:00
usertype.go