1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-29 12:43:11 +00:00
forgejo/models/migrations/v1_17
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
..
main_test.go Update go dev dependencies (#22064) 2022-12-08 16:21:37 +08:00
v211.go Drop migration for ForeignReference (#23605) 2023-03-23 15:01:55 -04:00
v212.go Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v213.go Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v214.go Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v215.go Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v216.go Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
v217.go Refactor setting.Database.UseXXX to methods (#23354) 2023-03-07 18:51:06 +08:00
v218.go Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v219.go Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v220.go [CHORE] Remove Microsoft SQL Server Support 2024-04-05 23:37:36 +02:00
v221.go Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v221_test.go Update go dev dependencies (#22064) 2022-12-08 16:21:37 +08:00
v222.go Rename Sync2 -> Sync (#26479) 2023-08-13 21:17:21 +02:00
v223.go [CHORE] Remove Microsoft SQL Server Support 2024-04-05 23:37:36 +02:00