Skip to content

Commit 2eca3f1

Browse files
committed
Update golangci-lint to stop using deprecated skip files/dirs
Signed-off-by: Brad Davidson <[email protected]>
1 parent f8e0648 commit 2eca3f1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.golangci.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@
1010
]
1111
},
1212
"run": {
13-
"skip-dirs": [
13+
"deadline": "5m"
14+
},
15+
"issues": {
16+
"exclude-dirs": [
1417
"build",
1518
"contrib",
1619
"manifests",
1720
"package",
1821
"scripts",
1922
"vendor"
2023
],
21-
"skip-files": [
24+
"exclude-files": [
2225
"/zz_generated_"
2326
],
24-
"deadline": "5m"
25-
},
26-
"issues": {
2727
"exclude-rules": [
2828
{
2929
"linters": "typecheck",
@@ -43,4 +43,4 @@
4343
}
4444
]
4545
}
46-
}
46+
}

0 commit comments

Comments
 (0)