diff options
author | Toon Claes <toon@gitlab.com> | 2021-01-29 12:18:59 +0300 |
---|---|---|
committer | Toon Claes <toon@gitlab.com> | 2021-01-29 12:18:59 +0300 |
commit | ba7c34fefc40cf42177e806b6dc516b33d562b79 (patch) | |
tree | 1e9a106dda6ade061e27fbe60ba2bf3e6cc65e13 | |
parent | e342c59d0c6575245a335bbe9dfe95d9a06b3a2f (diff) | |
parent | a4d1929d5b1b54949662f79f25336a81df95d1fe (diff) |
Merge branch 'smh-fix-lint-rule' into 'master'
Exclude tests files from no underscores in names linting rule
See merge request gitlab-org/gitaly!3069
-rw-r--r-- | .golangci.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.golangci.yml b/.golangci.yml index ccea119ca..6c88dd00f 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -40,6 +40,10 @@ issues: - golint text: "context.Context should be the first parameter of a function" path: "_test.go" + - linters: + - golint + text: "don't use underscores in Go names" + path: "_test.go" ## golint: Specific issues in non-*_test.go files - linters: - golint |