diff options
author | feistel <6742251-feistel@users.noreply.gitlab.com> | 2022-01-26 20:10:18 +0300 |
---|---|---|
committer | feistel <6742251-feistel@users.noreply.gitlab.com> | 2022-01-26 20:25:32 +0300 |
commit | f4abddf5dce3f96b7e25ab76135feffdc9f5f986 (patch) | |
tree | 9efd56700cd12ba2ef80294edddff18756599e87 /.golangci.yml | |
parent | ffb818c4aeb5859e243f850fb1482b5fdeba008b (diff) |
test: move mocks to their own package
Diffstat (limited to '.golangci.yml')
-rw-r--r-- | .golangci.yml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/.golangci.yml b/.golangci.yml index 33467c49..2107fb0a 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,17 +1,17 @@ run: - # which dirs to skip: issues from them won't be reported; - # can use regexp here: generated.*, regexp is applied on full path; - # default value is empty list, but default dirs are skipped independently - # from this option's value (see skip-dirs-use-default). - # "/" will be replaced by current OS file path separator to properly work - # on Windows. - skip-dirs: - - internal/mocks - # default is true. Enables skipping of directories: # vendor$, third_party$, testdata$, examples$, Godeps$, builtin$ skip-dirs-use-default: false + # Which files to skip: they will be analyzed, but issues from them won't be reported. + # Default value is empty list, + # but there is no need to include all autogenerated files, + # we confidently recognize autogenerated files. + # If it's not please let us know. + # "/" will be replaced by current OS file path separator to properly work on Windows. + skip-files: + - _mock\.go + # by default isn't set. If set we pass it to "go list -mod={option}". From "go help modules": # If invoked with -mod=readonly, the go command is disallowed from the implicit # automatic updating of go.mod described above. Instead, it fails when any changes |