Skip to content

Commit f290697

Browse files
build(deps): bump github.com/ldez/tagliatelle from 0.3.1 to 0.4.0 (#3483)
Co-authored-by: Fernandez Ludovic <[email protected]>
1 parent b155355 commit f290697

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

.golangci.reference.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1689,11 +1689,11 @@ linters-settings:
16891689
# Use the struct field name to check the name of the struct tag.
16901690
# Default: false
16911691
use-field-name: true
1692-
# `camel` is used for `json` and `yaml` (can be overridden)
1692+
# `camel` is used for `json` and `yaml`, and `header` is used for `header` (can be overridden)
16931693
# Default: {}
16941694
rules:
16951695
# Any struct tag type can be used.
1696-
# Support string case: `camel`, `pascal`, `kebab`, `snake`, `goCamel`, `goPascal`, `goKebab`, `goSnake`, `upper`, `lower`
1696+
# Support string case: `camel`, `pascal`, `kebab`, `snake`, `goCamel`, `goPascal`, `goKebab`, `goSnake`, `upper`, `lower`, `header`
16971697
json: camel
16981698
yaml: camel
16991699
xml: camel

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ require (
5757
github.com/kunwardeep/paralleltest v1.0.6
5858
github.com/kyoh86/exportloopref v0.1.11
5959
github.com/ldez/gomoddirectives v0.2.3
60-
github.com/ldez/tagliatelle v0.3.1
60+
github.com/ldez/tagliatelle v0.4.0
6161
github.com/leonklingele/grouper v1.1.1
6262
github.com/lufeee/execinquery v1.2.1
6363
github.com/maratori/testableexamples v1.0.0

go.sum

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/golinters/tagliatelle.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ import (
1111
func NewTagliatelle(settings *config.TagliatelleSettings) *goanalysis.Linter {
1212
cfg := tagliatelle.Config{
1313
Rules: map[string]string{
14-
"json": "camel",
15-
"yaml": "camel",
14+
"json": "camel",
15+
"yaml": "camel",
16+
"header": "header",
1617
},
1718
}
1819

0 commit comments

Comments
 (0)