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

eslint-config-excellence

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-excellence

ESLint configuration that requires excellence and discipline

  • 1.17.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
152
increased by55.1%
Maintainers
1
Weekly downloads
 
Created
Source

ESLint configuration that requires excellence and discipline
Configured to work with Babel and React

Usage

npm install --save-dev eslint-config-excellence

Then extend excellence in your .eslintrc:

{
    "extends": "excellence"
}

You might want to use .eslintrc.js instead, since the .eslintrc was deprecated!

Common Rules

You might want to change some rules, that are controversial and often disputed inside the JS community. The defaults that excellence applies are listed here.

{
    'jsx-quotes': [ 2, 'prefer-single' ], // prfer-single or prefer-double
    'quotes': [ 2, 'single' ], // single or double
    'semi': [ 2, 'always' ] // always or never
}

Advises

It is probably a good idea to use Editorconfig alongside ESLint. Check out their website.

FAQs

Package last updated on 25 Oct 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

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