1.0.0 • Published 5 months ago
limitlines v1.0.0
Lint and report number of lines by file.
Installation
npm install limitlines
Execute
limitlines [source] [options]
Source
Globby paths to scan.
string
, separate by comma.
Default: .
Accept globby.
limitlines 'folder1/**/*, folder2/*.{html,js}'
Options
Ignore
Paths to ignore.
string
, separate by comma.
Default: node_modules
limitlines --ignore 'somefolder'
Max Lines
Maximum lines by file.
integer
Default: 300
limitlines --maxlines 450
Min Lines
Minimun accepted lines by file.
integer
Default: 1
limitlines --minlines 1
Max Errors
Maximum errors accept.
integer
Default: 0
limitlines --maxerrors 3
Version
Output version number.
Alias -v
.
limitlines --version
License
This project is licensed under the MIT license.