Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

Viewing file on branch master

1# For full documentation of the configuration options please
2# see: https://golangci-lint.run/docs/configuration/file/
3version: "2"
4
5# options for analysis running
6run:
7 go: "1.24"
8
9 # which dirs to skip: they won't be analyzed;
10 # can use regexp here: generated.*, regexp is applied on full path;
11 # default value is empty list, but next dirs are always skipped independently
12 # from this option's value:
13 # vendor$, third_party$, testdata$, examples$, Godeps$, builtin$
14 # skip-dirs: gateway/bridgemap$
15
16# output configuration options
17output:
18 # colored-line-number|line-number|json|tab|checkstyle, default is "colored-line-number"
19 formats:
20 text:
21 path: stdout
22 colors: true
23
24# linters that we should / shouldn't run
25linters:
26 default: none
27 enable:
28 - staticcheck
29 - govet
30 settings:
31 staticcheck:
32 checks: [ "QF1004" ]
33
34formatters:
35 settings:
36 gofmt:
37 # simplify code: gofmt with `-s` option, true by default
38 simplify: true
39 goimports:
40 # put imports beginning with prefix after 3rd-party packages;
41 local-prefixes: [ "github.com" ]