10000 GitHub - guerinoni/argslen: Go linter that warns about the number of arguments in functions.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

guerinoni/argslen

Repository files navigation

argslen linter

CI codecov lint Go Report Card

Argslen is a linter that checks for long list of argument in functions.

The default limit is 5 (maxArguments) and skip the test files (skipTests), but you can configure these.

Usage

argslen ./...                 (scan all pkg)
argslen .                     (scan current pkg)
argslen -maxArguments=2 .     (scan currente with max args 2)
argslen -skipTests=true ./... (scan all pkg skipping tests files)

About

Go linter that warns about the number of arguments in functions.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages

0