Lint and report number of lines by file.
npm install limitlines
limitlines [source] [options]
Globby paths to scan.
string
, separate by comma.
Default: .
Accept globby.
limitlines 'folder1/**/*, folder2/*.{html,js}'
Paths to ignore.
string
, separate by comma.
Default: node_modules
limitlines --ignore 'somefolder'
Maximum lines by file.
integer
Default: 300
limitlines --maxlines 450
Minimun accepted lines by file.
integer
Default: 1
limitlines --minlines 1
Maximum errors accept.
integer
Default: 0
limitlines --maxerrors 3
Output version number.
Alias -v
.
limitlines --version
This project is licensed under the MIT license.