Skip to content

Commit 471f9f3

Browse files
committed
fix(linters): add revive linter for var-naming rule
1 parent bc2f19e commit 471f9f3

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.golangci.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,13 @@
5959
"gomoddirectives"
6060
],
6161
"text": "replacement are not allowed: github.com/joho/godotenv"
62+
},
63+
{
64+
"linters": [
65+
"revive"
66+
],
67+
"text": "var-naming: avoid package names that conflict with Go standard library package names",
68+
"path": "internal/(metrics|sync|version)/.*\\.go$"
6269
}
6370
],
6471
"uniq-by-line": true

0 commit comments

Comments
 (0)