Skip to content

Commit

Permalink
Go SDK: Disable golangci tagliatelle
Browse files Browse the repository at this point in the history
This check complains the struct json tag naming style. It expects the
Caml style, but Go SDK has to use Snake.

Signed-off-by: Ming Lu <[email protected]>
  • Loading branch information
minglumlu committed May 31, 2024
1 parent ea8b630 commit 510acd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ linters:
- testpackage # makes you use a separate _test package
- decorder # checks declaration order and count of types, constants, variables and functions
- thelper # detects golang test helpers without t.Helper() call and checks the consistency of test helpers
- tagliatelle # checks the struct tags
- godox # detects FIXME, TODO and other comment keywords
- gci # controls golang package import order and makes it always deterministic
- tagalign # checks that struct tags are well aligned
Expand All @@ -78,6 +77,7 @@ linters:


## disabled
#- tagliatelle # checks the struct tags
#- goconst # finds repeated strings that could be replaced by a constant
#- gochecknoglobals # checks that no global variables exist
#- gocyclo # computes and checks the cyclomatic complexity of functions
Expand Down

0 comments on commit 510acd8

Please sign in to comment.