File tree Expand file tree Collapse file tree 18 files changed +539
-0
lines changed Expand file tree Collapse file tree 18 files changed +539
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ version : " 2"
3
+ checks :
4
+ similar-code :
5
+ enabled : false
6
+ identical-code :
7
+ enabled : false
8
+ exclude_patterns :
9
+ - " **/.*"
10
+ - " **/*_test.go"
11
+ - " **/*.md"
12
+ - " LICENSE"
13
+ - " go.mod"
14
+ - " go.sum"
15
+ engines :
16
+ golangci :
17
+ enabled : true
Original file line number Diff line number Diff line change
1
+ ---
2
+ version : v1.59.1
3
+ plugins :
4
+ - module : fillmore-labs.com/zerolint-golangci-plugin
5
+ path : .
Original file line number Diff line number Diff line change
1
+ * text =auto
2
+ * .adoc text
3
+ * .bat text eol =crlf
4
+ * .bazel text
5
+ * .bin filter =lfs diff =lfs merge =lfs - text
6
+ * .bzl text
7
+ * .css text eol =lf
8
+ * .env text
9
+ * .go text
10
+ * .html text eol =lf
11
+ * .jar filter =lfs diff =lfs merge =lfs - text
12
+ * .java text
13
+ * .js text eol =lf
14
+ * .json text
15
+ * .md text
16
+ * .patch text
17
+ * .png filter =lfs diff =lfs merge =lfs - text
18
+ * .proto text linguist-detectable
19
+ * .scala text
20
+ * .ts text eol =lf
21
+ * .yaml text
22
+ * .zip filter =lfs diff =lfs merge =lfs - text
23
+ go.mod text
24
+ go.sum text
25
+ BUILD text - linguist-detectable
26
+ WORKSPACE text - linguist-detectable
Original file line number Diff line number Diff line change
1
+ ---
2
+ coverage :
3
+ status :
4
+ project : false
5
+ patch : false
6
+ ignore :
7
+ - atomic/nocopy.go
Original file line number Diff line number Diff line change
1
+ {
2
+ "automerge" : true ,
3
+ "automergeType" : " branch" ,
4
+ "extends" : [
5
+ " config:base" ,
6
+ " :disableDependencyDashboard"
7
+ ]
8
+ }
Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Test
3
+ " on " :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
8
+ branches :
9
+ - main
10
+ jobs :
11
+ test :
12
+ name : Test on Go ${{ matrix.go }}
13
+ permissions :
14
+ checks : write
15
+ contents : read
16
+ pull-requests : read
17
+ statuses : write
18
+ runs-on : ubuntu-24.04
19
+ strategy :
20
+ matrix :
21
+ go : ["1.22", "1.21"]
22
+ env :
23
+ GOTOOLCHAIN : local
24
+ steps :
25
+ - name : ✔ Check out
26
+ uses : actions/checkout@v4
27
+ - name : 🐹 Set up Go ${{ matrix.go }}
28
+ uses : actions/setup-go@v5
29
+ with :
30
+ go-version : ${{ matrix.go }}
31
+ check-latest : true
32
+ - name : 🧸 golangci-lint
33
+ uses : golangci/golangci-lint-action@v6
34
+ with :
35
+ version : v1.59.1
36
+ args : --config=.golangci-default.yaml
37
+ - name : 🔨 Test
38
+ run : golangci-lint custom -v && ./custom-gcl run -v .
Original file line number Diff line number Diff line change
1
+ . *
2
+ ! /.buildkite /
3
+ ! /.codeclimate.yml
4
+ ! /.custom-gcl.yaml
5
+ ! /.envrc
6
+ ! /.gitattributes
7
+ ! /.github /
8
+ ! /.gitignore
9
+ ! /.golangci-default.yaml
10
+ ! /.golangci.yaml
11
+ ! /.markdownlint.yaml
12
+ ! /.mockery.yaml
13
+ ! /.prettierrc.yaml
14
+ ! /.yamlfmt
15
+ ! /.yamllint
16
+ /bin /
17
+ /cover.out
18
+ /test.xml
19
+ /trace.out
20
+ /custom-gcl
Original file line number Diff line number Diff line change
1
+ ---
2
+ run :
3
+ modules-download-mode : readonly
4
+ linters :
5
+ enable-all : true
6
+ disable :
7
+ # deprecated
8
+ - execinquery
9
+ - gomnd
10
+ # disabled
11
+ - depguard
12
+ - dupl
13
+ - exhaustruct
14
+ - forbidigo
15
+ - nonamedreturns
16
+ - varnamelen
17
+ - wrapcheck
18
+ - wsl
19
+ # Go 1.22
20
+ - copyloopvar
21
+ - intrange
22
+ linters-settings :
23
+ govet :
24
+ enable-all : true
25
+ disable :
26
+ - fieldalignment
27
+ settings :
28
+ shadow :
29
+ strict : true
30
+ testifylint :
31
+ enable-all : true
32
+ disable :
33
+ - require-error
34
+ ireturn :
35
+ allow :
36
+ - anon
37
+ - error
38
+ - empty
39
+ - stdlib
40
+ - generic
41
+ predeclared :
42
+ ignore : " new"
43
+ issues :
44
+ exclude-rules :
45
+ - path : _test\.go$
46
+ linters :
47
+ - revive
48
+ text : " dot-imports"
49
+ - path : _test\.go$
50
+ linters :
51
+ - govet
52
+ text : " lostcancel"
Original file line number Diff line number Diff line change
1
+ ---
2
+ run :
3
+ modules-download-mode : readonly
4
+ linters :
5
+ enable :
6
+ - zerolint
7
+ linters-settings :
8
+ custom :
9
+ zerolint :
10
+ type : " module"
11
+ settings :
12
+ excluded : []
Original file line number Diff line number Diff line change
1
+ ---
2
+ no-hard-tabs :
3
+ ignore_code_languages :
4
+ - go
5
+ spaces_per_tab : 4
6
+ line-length :
7
+ line_length : 120
You can’t perform that action at this time.
0 commit comments