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:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2022-08-10 14:17:33 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2022-08-11 15:03:14 +0300
commit1946de54c07b881e072a0d8629a4ffe58ef65edb (patch)
tree627c0852ccd4d706435f2c0f867f7c8635cf9bdf /.golangci.yml
parent3b6e4a13fcda407cdfa1f37874fd3fc04e8c0421 (diff)
golangci-lint: Enforce that `testing.T` must be first parameter
Enforce that `testing.T` et al must be the first parameter of test functions. Unfortuntately, the linter explicitly allows for contexts to precede `testing.T`, which causes us to still not enforce a uniform style for our test functions. Fix cases where we violate this rule.
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml3
1 files changed, 0 insertions, 3 deletions
diff --git a/.golangci.yml b/.golangci.yml
index cced853f6..3f4398b45 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -76,13 +76,10 @@ linters-settings:
checks: [ "all", "-ST1000" ]
thelper:
test:
- first: false
begin: false
benchmark:
- first: false
begin: false
tb:
- first: false
name: false
begin: false