eslint-config-excellence

1.17.1 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-excellence

Weekly Downloads

4

Version

1.17.1

License

Unlicense

Last publish

Collaborators

  • philpl