Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

common-lint

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

common-lint

compatibility for both standard and eslint

  • 2.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

common-lint

compatibility for both standard and eslint

Usage

Use common-lint or clint from the command-line or your linter settings.

ESLint

By default, this module passes through to eslint.

$ common-lint --help

/home/alice/foo/index.js
  31:41  error  'val' is defined but never used  no-unused-vars

✖ 1 problem (1 error, 0 warnings)

StandardJS

If standard is found in your package.json, this module uses that instead.

$ common-lint
standard: Use JavaScript Standard Style (https://standardjs.com)
standard: Run `standard --fix` to automatically fix some problems.
  /home/alice/bar/index.js:59:27: Extra semicolon.

Installation

With npm:

npm -g install common-lint

With yarn:

yarn global add common-lint

License

AGPL-3.0

FAQs

Package last updated on 19 Sep 2019

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc