1
0
Fork 0
forked from forgejo/forgejo

[gitea] Rework spellchecking, add lint-spell (#29106)

- Use maintained fork https://github.com/golangci/misspell
- Rename `mispell-check` to `lint-spell`, add `lint-spell-fix`
- Run `lint-spell` in separate actions step
- Lint more files, fix discovered issues
- Remove inaccurate and outdated info in docs (we do not need GOPATH for
tools anymore)

Maybe later we can add more spellchecking tools, but I have not found
any good ones yet.

(cherry picked from commit 9c39f8515fa88d644736c6773d7a05d070a02e82)

Conflicts:
	.github/workflows/pull-compliance.yml
	Makefile
This commit is contained in:
silverwind 2024-02-09 04:59:39 +01:00 committed by Earl Warren
parent 83bb3cf86a
commit 6fcb8e652b
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
8 changed files with 24 additions and 24 deletions

View file

@ -243,10 +243,10 @@ documentation using:
make generate-swagger
```
You should validate your generated Swagger file and spell-check it with:
You should validate your generated Swagger file:
```bash
make swagger-validate misspell-check
make swagger-validate
```
You should commit the changed swagger JSON file. The continuous integration