Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

exlint

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exlint

self-contained eslint profile

latest
Source
npmnpm
Version
0.1.6
Version published
Maintainers
1
Created
Source

Exlint

A self-contained eslint profile that requires no boilerplate setup such as installing several profiles and plugins. Uses babel-eslint out of the box for bleeding-edge ES6/ES7.

How to Use

Use exlint exactly as you would use eslint.

# globally
npm install exlint -g
# or locally
npm install exlint --save-dev

exlint path/to/dir

Rules

exlint is based on standard with a few tweaks based on my personal coding preference. The following rules are enforced on top of the standard config:

  • Use const if variable is immutable
  • Use a comma dangle with multiline objects
  • Use open spacing in objects { foo: 'bar' }
  • Wrap arrow function parameters in parentheses (a) => {}, (a, b) => {}
  • Use the correct order for requiring/importing modules: native node modules, installed modules, custom modules in the same directory, then custom modules in upper directories.

License

MIT © Jason Maurer

Keywords

code

FAQs

Package last updated on 09 Jun 2016

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