summaryrefslogtreecommitdiff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorLibravatar Tobi Smethurst <31960611+tsmethurst@users.noreply.github.com>2021-08-16 19:17:56 +0200
committerLibravatar GitHub <noreply@github.com>2021-08-16 19:17:56 +0200
commitce190d867ca126001a1c0417b00810fc03c0b3ba (patch)
tree364b00118a405239bc6bcac0bfb7891c83655c23 /CONTRIBUTING.md
parentTimeline loop fix (#140) (diff)
downloadgotosocial-ce190d867ca126001a1c0417b00810fc03c0b3ba.tar.xz
Text/status parsing fixes (#141)
* aaaaaa * vendor minify * update + test markdown parsing
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 97220f221..8ccd7e7dc 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -139,7 +139,7 @@ We use [golangci-lint](https://golangci-lint.run/) for linting. To run this loca
Then, you can run the linter with:
```bash
-golangci-lint run
+golangci-lint run --tests=false
```
Note that this linter also runs as a job on the Github repo, so if you make a PR that doesn't pass the linter, it will be rejected. As such, it's good practice to run the linter locally before pushing or opening a PR.
@@ -155,7 +155,7 @@ go get -u github.com/golang/lint/golint
To run the linter, use:
```bash
-golint ./...
+golint ./internal/...
```
Then make sure to run `go fmt ./...` to update whitespace and other opinionated formatting.