1.0.0 • Published 6 years ago

limit-lines v1.0.0

Weekly downloads
24
License
MIT
Repository
github
Last release
6 years ago

Limit Lines Open Source Love Bash Shell

Release Node Downloads install size License dependencies Status

js-standard-style Inline docs devDependencies Status

A tool for check 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'

Maxlines

integer

Maximum lines by file. Default: 300

limitlines --maxlines 450

Minlines

integer

Minimun accepted lines by file. Default: 1

limitlines --minlines 1

Maxerrors

integer

Maximum errors accept. Default: 0

limitlines --maxerrors 3

Version

Output the version number

Alias -v

limitlines --version

License

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