We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6b4c967 + 7d14e43 commit ed57546Copy full SHA for ed57546
.golangci.yml
@@ -237,7 +237,6 @@ linters:
237
- nilerr
238
- nlreturn
239
- nonamedreturns
240
- - nosnakecase
241
- paralleltest
242
- protogetter
243
- scopelint
@@ -301,4 +300,10 @@ issues:
301
300
linters:
302
- staticcheck
303
- path: _test\.go
304
- text: "ydb.Connection is deprecated"
+ text: "ydb.Connection is deprecated"
+
305
+ # Allow underscore and capital camel case for readability
306
+ # Examples: Type_PRIMITIVE_TYPE_ID_UNSPECIFIED, Ydb_Discovery_V1, _voidValue
307
+ - linters:
308
+ - nosnakecase
309
+ text : "(?:_[a-z]+(?:[A-Z](?:[a-z\\d]+|[A-Z\\d]+))+|(?:[A-Z][a-z\\d]+|[A-Z][A-Z\\d]+)+_(?:(?:[A-Z][a-z\\d]+|[A-Z\\d][A-Z\\d]+)_?)+)"
0 commit comments