Lint: Disable staticcheck for strings.Title

strings.Title is deprecated, but we need to keep using it since there is
no 1:1 replacement and otherwise this might change page names on
confluence.
This commit is contained in:
Manuel Rüger 2023-01-18 19:46:25 +01:00
parent 1a4ae1afb5
commit 7204ef21f6

View File

@ -74,6 +74,7 @@ func ExtractMeta(data []byte) (*Meta, []byte, error) {
meta.Type = "page" //Default if not specified
}
//nolint:staticcheck
header := strings.Title(matches[1])
var value string