Skip to content

Commit 1e1fd41

Browse files
authored
chore: update golangci-lint to version 2.2.2 and adjust linting configurations (#87)
1 parent e49b275 commit 1e1fd41

3 files changed

Lines changed: 31 additions & 9 deletions

File tree

.golangci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ linters:
99

1010
disable:
1111
- wsl
12+
- wsl_v5
1213
- nlreturn
1314
- depguard
1415
- gochecknoinits
@@ -21,6 +22,7 @@ linters:
2122
- lll
2223
- funlen
2324
- tagalign
25+
- noinlineerr
2426

2527
exclusions:
2628
paths:

devbox.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"packages": [
44
"goreleaser@2.9.0",
55
"go-task@3.41.0",
6-
"golangci-lint@2.1.6"
6+
"golangci-lint@2.2.2"
77
],
88
"shell": {
99
"init_hook": [

devbox.lock

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,31 +49,51 @@
4949
}
5050
}
5151
},
52-
"golangci-lint@2.1.6": {
53-
"last_modified": "2025-05-06T08:06:31Z",
54-
"resolved": "github:NixOS/nixpkgs/1cb1c02a6b1b7cf67e3d7731cbbf327a53da9679#golangci-lint",
52+
"golangci-lint@2.2.2": {
53+
"last_modified": "2025-07-18T03:30:42Z",
54+
"resolved": "github:NixOS/nixpkgs/e821e03193486359aa942372be2d9c1f377b7a18#golangci-lint",
5555
"source": "devbox-search",
56-
"version": "2.1.6",
56+
"version": "2.2.2",
5757
"systems": {
58+
"aarch64-darwin": {
59+
"outputs": [
60+
{
61+
"name": "out",
62+
"path": "/nix/store/00sy2bp921ax5cxphxz0ifgax6i97mx7-golangci-lint-2.2.2",
63+
"default": true
64+
}
65+
],
66+
"store_path": "/nix/store/00sy2bp921ax5cxphxz0ifgax6i97mx7-golangci-lint-2.2.2"
67+
},
5868
"aarch64-linux": {
5969
"outputs": [
6070
{
6171
"name": "out",
62-
"path": "/nix/store/nzfzphypaibr5md38sqjm91i8azhynj4-golangci-lint-2.1.6",
72+
"path": "/nix/store/gvay3vc5ll70dfryiy6qa16w3ybagiq7-golangci-lint-2.2.2",
73+
"default": true
74+
}
75+
],
76+
"store_path": "/nix/store/gvay3vc5ll70dfryiy6qa16w3ybagiq7-golangci-lint-2.2.2"
77+
},
78+
"x86_64-darwin": {
79+
"outputs": [
80+
{
81+
"name": "out",
82+
"path": "/nix/store/9pxfg0y3hiaf08vnzk2fs4qh76r2kd22-golangci-lint-2.2.2",
6383
"default": true
6484
}
6585
],
66-
"store_path": "/nix/store/nzfzphypaibr5md38sqjm91i8azhynj4-golangci-lint-2.1.6"
86+
"store_path": "/nix/store/9pxfg0y3hiaf08vnzk2fs4qh76r2kd22-golangci-lint-2.2.2"
6787
},
6888
"x86_64-linux": {
6989
"outputs": [
7090
{
7191
"name": "out",
72-
"path": "/nix/store/05p9lrvs0d7qqcd2vdks2lvmvi0kdp05-golangci-lint-2.1.6",
92+
"path": "/nix/store/z0d7708yc7d0z6nj0mwalbi6hf79yj68-golangci-lint-2.2.2",
7393
"default": true
7494
}
7595
],
76-
"store_path": "/nix/store/05p9lrvs0d7qqcd2vdks2lvmvi0kdp05-golangci-lint-2.1.6"
96+
"store_path": "/nix/store/z0d7708yc7d0z6nj0mwalbi6hf79yj68-golangci-lint-2.2.2"
7797
}
7898
}
7999
},

0 commit comments

Comments
 (0)