Skip to content

Commit 223b9d9

Browse files
davidsvantessonlafriks
authored andcommitted
Add 'make revive' to instructions for checking code (#8314)
* Add 'make revive' to instructions for checking code This is performed on drone, hacking instructions should contain the same to avoid unnecessary PR builds. * lint is deprecated. Denote revive +vet as code analysis in continuous text.
1 parent 5774260 commit 223b9d9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/content/doc/advanced/hacking-on-gitea.en-us.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,10 @@ and look at our
108108
[`.drone.yml`](https://github.com/go-gitea/gitea/blob/master/.drone.yml) to see
109109
how our continuous integration works.
110110

111-
### Formatting, linting, vetting and spell-check
111+
### Formatting, code analysis and spell check
112112

113113
Our continous integration will reject PRs that are not properly formatted, fail
114-
linting, vet or spell-check.
114+
code analysis or spell check.
115115

116116
You should format your code with `go fmt` using:
117117

@@ -130,10 +130,10 @@ You should run the same version of go that is on the continuous integration
130130
server as mentioned above. `make fmt-check` will only check if your `go` would
131131
format differently - this may be different from the CI server version.
132132

133-
You should lint, vet and spell-check with:
133+
You should run revive, vet and spell-check on the code with:
134134

135135
```bash
136-
make vet lint misspell-check
136+
make revive vet misspell-check
137137
```
138138

139139
### Updating CSS

0 commit comments

Comments
 (0)