New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

limitlines

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

limitlines

Lint and report number of lines by file

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
0
Created
Source

limit lines

Release Node Downloads

Lint and report number of lines by file.

Screenshot

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.

Keywords

lint

FAQs

Package last updated on 17 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts