Skip to content

Commit 33e23b6

Browse files
committed
merge in changes
Signed-off-by: Tim Collins <tim@thecollins.team>
1 parent 5929853 commit 33e23b6

2 files changed

Lines changed: 8 additions & 15 deletions

File tree

.github/workflows/golangci-lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
# Require: The version of golangci-lint to use.
2727
# When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.
2828
# When `install-mode` is `goinstall` the value can be v1.2.3, `latest`, or the hash of a commit.
29-
version: v1.55
29+
version: v2.10.1
3030

3131
# Optional: working directory, useful for monorepos
3232
# working-directory: somedir

.golangci.yaml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,27 @@
1+
version: "2"
2+
13
run:
24
timeout: 5m
5+
36
linters:
47
enable:
58
- asasalint
69
- bidichk
710
- bodyclose
8-
- containedctx
9-
- contextcheck
10-
- dogsled
1111
- dupl
1212
- dupword
1313
- durationcheck
1414
- errorlint
1515
- errchkjson
1616
- exhaustive
17-
- exportloopref
1817
- forcetypeassert
1918
# - gochecknoglobals
2019
- goconst
2120
- gocritic
2221
# - goerr113
23-
- gofmt
24-
- goprintffuncname
2522
- gosec
26-
- grouper
2723
- ireturn
2824
- loggercheck
29-
- makezero
3025
- mirror
3126
- misspell
3227
# - musttag
@@ -35,21 +30,19 @@ linters:
3530
- nilerr
3631
#- noctx
3732
- nonamedreturns
38-
- nosprintfhostport
39-
- prealloc
4033
- predeclared
41-
- promlinter
4234
- reassign
4335
- revive
4436
- sqlclosecheck
4537
- stylecheck
4638
# - tagliatelle
47-
- tenv
4839
- thelper
49-
- tparallel
5040
- unconvert
5141
- unparam
5242
- usestdlibvars
5343
# - varnamelen
54-
- wastedassign
5544
- whitespace
45+
46+
formatters:
47+
enable:
48+
- gofmt

0 commit comments

Comments
 (0)