build(deps): bump github.com/ldez/tagliatelle from 0.3.1 to 0.4.0 (#3483)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
This commit is contained in:
parent
b155355b2e
commit
f29069723b
@ -1689,11 +1689,11 @@ linters-settings:
|
|||||||
# Use the struct field name to check the name of the struct tag.
|
# Use the struct field name to check the name of the struct tag.
|
||||||
# Default: false
|
# Default: false
|
||||||
use-field-name: true
|
use-field-name: true
|
||||||
# `camel` is used for `json` and `yaml` (can be overridden)
|
# `camel` is used for `json` and `yaml`, and `header` is used for `header` (can be overridden)
|
||||||
# Default: {}
|
# Default: {}
|
||||||
rules:
|
rules:
|
||||||
# Any struct tag type can be used.
|
# Any struct tag type can be used.
|
||||||
# Support string case: `camel`, `pascal`, `kebab`, `snake`, `goCamel`, `goPascal`, `goKebab`, `goSnake`, `upper`, `lower`
|
# Support string case: `camel`, `pascal`, `kebab`, `snake`, `goCamel`, `goPascal`, `goKebab`, `goSnake`, `upper`, `lower`, `header`
|
||||||
json: camel
|
json: camel
|
||||||
yaml: camel
|
yaml: camel
|
||||||
xml: camel
|
xml: camel
|
||||||
|
2
go.mod
2
go.mod
@ -57,7 +57,7 @@ require (
|
|||||||
github.com/kunwardeep/paralleltest v1.0.6
|
github.com/kunwardeep/paralleltest v1.0.6
|
||||||
github.com/kyoh86/exportloopref v0.1.11
|
github.com/kyoh86/exportloopref v0.1.11
|
||||||
github.com/ldez/gomoddirectives v0.2.3
|
github.com/ldez/gomoddirectives v0.2.3
|
||||||
github.com/ldez/tagliatelle v0.3.1
|
github.com/ldez/tagliatelle v0.4.0
|
||||||
github.com/leonklingele/grouper v1.1.1
|
github.com/leonklingele/grouper v1.1.1
|
||||||
github.com/lufeee/execinquery v1.2.1
|
github.com/lufeee/execinquery v1.2.1
|
||||||
github.com/maratori/testableexamples v1.0.0
|
github.com/maratori/testableexamples v1.0.0
|
||||||
|
4
go.sum
generated
4
go.sum
generated
@ -334,8 +334,8 @@ github.com/kyoh86/exportloopref v0.1.11 h1:1Z0bcmTypkL3Q4k+IDHMWTcnCliEZcaPiIe0/
|
|||||||
github.com/kyoh86/exportloopref v0.1.11/go.mod h1:qkV4UF1zGl6EkF1ox8L5t9SwyeBAZ3qLMd6up458uqA=
|
github.com/kyoh86/exportloopref v0.1.11/go.mod h1:qkV4UF1zGl6EkF1ox8L5t9SwyeBAZ3qLMd6up458uqA=
|
||||||
github.com/ldez/gomoddirectives v0.2.3 h1:y7MBaisZVDYmKvt9/l1mjNCiSA1BVn34U0ObUcJwlhA=
|
github.com/ldez/gomoddirectives v0.2.3 h1:y7MBaisZVDYmKvt9/l1mjNCiSA1BVn34U0ObUcJwlhA=
|
||||||
github.com/ldez/gomoddirectives v0.2.3/go.mod h1:cpgBogWITnCfRq2qGoDkKMEVSaarhdBr6g8G04uz6d0=
|
github.com/ldez/gomoddirectives v0.2.3/go.mod h1:cpgBogWITnCfRq2qGoDkKMEVSaarhdBr6g8G04uz6d0=
|
||||||
github.com/ldez/tagliatelle v0.3.1 h1:3BqVVlReVUZwafJUwQ+oxbx2BEX2vUG4Yu/NOfMiKiM=
|
github.com/ldez/tagliatelle v0.4.0 h1:sylp7d9kh6AdXN2DpVGHBRb5guTVAgOxqNGhbqc4b1c=
|
||||||
github.com/ldez/tagliatelle v0.3.1/go.mod h1:8s6WJQwEYHbKZDsp/LjArytKOG8qaMrKQQ3mFukHs88=
|
github.com/ldez/tagliatelle v0.4.0/go.mod h1:mNtTfrHy2haaBAw+VT7IBV6VXBThS7TCreYWbBcJ87I=
|
||||||
github.com/leonklingele/grouper v1.1.1 h1:suWXRU57D4/Enn6pXR0QVqqWWrnJ9Osrz+5rjt8ivzU=
|
github.com/leonklingele/grouper v1.1.1 h1:suWXRU57D4/Enn6pXR0QVqqWWrnJ9Osrz+5rjt8ivzU=
|
||||||
github.com/leonklingele/grouper v1.1.1/go.mod h1:uk3I3uDfi9B6PeUjsCKi6ndcf63Uy7snXgR4yDYQVDY=
|
github.com/leonklingele/grouper v1.1.1/go.mod h1:uk3I3uDfi9B6PeUjsCKi6ndcf63Uy7snXgR4yDYQVDY=
|
||||||
github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
|
github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
|
||||||
|
@ -11,8 +11,9 @@ import (
|
|||||||
func NewTagliatelle(settings *config.TagliatelleSettings) *goanalysis.Linter {
|
func NewTagliatelle(settings *config.TagliatelleSettings) *goanalysis.Linter {
|
||||||
cfg := tagliatelle.Config{
|
cfg := tagliatelle.Config{
|
||||||
Rules: map[string]string{
|
Rules: map[string]string{
|
||||||
"json": "camel",
|
"json": "camel",
|
||||||
"yaml": "camel",
|
"yaml": "camel",
|
||||||
|
"header": "header",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user