Skip to content

Lint and report number of lines by file.

License

Notifications You must be signed in to change notification settings

tiagoporto/limit-lines

Repository files navigation

limit lines

Open Source Love Bash Shell

👍 ? : 😞

Release Node Downloads install size

Lint and report number of lines by file.

Screenshot

Installation

npm install limit-lines

Execute

limitlines [options]

Options

Path

string, separate by comma.

accept globby paths.

Default: .

limitlines --path 'folder1/**/*, folder2/*.{html,js}'

Ignore

string, separate by comma

Paths to ignore.

Default: node_modules

limitlines --ignore 'somefolder'

Max Lines

integer

Maximum lines by file. Default: 300

limitlines --maxlines 450

Min Lines

integer

Minimun accepted lines by file. Default: 1

limitlines --minlines 1

Max Errors

integer

Maximum errors accept. Default: 0

limitlines --maxerrors 3

Version

Output version number

Alias -v

limitlines --version

License

Limit Lines is released under the terms of the MIT license.