Updated to latest golint

This commit is contained in:
Mike Farah
2024-01-11 13:17:34 +11:00
parent 8af3e46fcb
commit 010750daf6
60 changed files with 95 additions and 94 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ func TestMain(m *testing.M) {
os.Exit(code)
}
func NewSimpleYamlPrinter(writer io.Writer, outputFormat PrinterOutputFormat, unwrapScalar bool, colorsEnabled bool, indent int, printDocSeparators bool) Printer {
func NewSimpleYamlPrinter(writer io.Writer, _ PrinterOutputFormat, unwrapScalar bool, colorsEnabled bool, indent int, printDocSeparators bool) Printer {
prefs := NewDefaultYamlPreferences()
prefs.PrintDocSeparators = printDocSeparators
prefs.UnwrapScalar = unwrapScalar