Categorygithub.com/0queue/parenlint
modulepackage
0.4.1
Repository: https://github.com/0queue/parenlint.git
Documentation: pkg.go.dev

# README

parenlint

Checks that arguments to function calls are all on the same line, or on multiple lines.

Good:

fmt.Println("single line")

fmt.Println(
  "multiple",
  "lines",
)

t.Run("test", func(t *testing.T) {
  t.Log("hooray!")
})

Bad:

fmt.Println("not",
  "happy")

fmt.Println(
  "also", "frowned upon"
)

# Packages

No description provided by the author