argslen

module
v0.0.0-...-bf7edaf Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 License: MIT

README

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)

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

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