parenlint

command module
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2025 License: MIT Imports: 2 Imported by: 0

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"
)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL