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