Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToon Claes <toon@gitlab.com>2021-01-29 12:18:59 +0300
committerToon Claes <toon@gitlab.com>2021-01-29 12:18:59 +0300
commitba7c34fefc40cf42177e806b6dc516b33d562b79 (patch)
tree1e9a106dda6ade061e27fbe60ba2bf3e6cc65e13
parente342c59d0c6575245a335bbe9dfe95d9a06b3a2f (diff)
parenta4d1929d5b1b54949662f79f25336a81df95d1fe (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.yml4
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