limit-lines
v1.0.0
Published
A tool for check and report number of lines by file. .
Downloads
23
Maintainers
Readme
Limit Lines
A tool for check and report number of lines by file.
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.