2.1.0 • Published 4 years ago

eslint-config-simon v2.1.0

Weekly downloads
12
License
MIT
Repository
github
Last release
4 years ago

This package contains several eslint-config files for my personal projects on github.

Installation

Install via npm:

npm install --save-dev eslint-config-simon

Install via yarn:

yarn add --dev eslint-config-simon

As of 2.x all ESLint rules are now implemented to simplify maintenance.

Available rules

NameWhere to useExtendsSource
simonBasic config, can be used in all JavaScript environments.-lib/base
simon/lib/nodeRules for nodejs projects.simonlib/node
simon/lib/reactRules for react / preact projects.simonlib/react

Example

Your .eslintrc file, you probably want to extend eslint:recommended too:

{
    "extends": [
        "eslint:recommended",
        "simon"
    ]
}