Skip to content
This repository has been archived by the owner on Mar 13, 2022. It is now read-only.

simonwep/eslint-config-simon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESLint config for my personal projects

Build Status Current version

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

Name Where to use Extends Source
simon Basic config, can be used in all JavaScript environments. - lib/base
simon/lib/node Rules for nodejs projects. simon lib/node
simon/lib/react Rules for react / preact projects. simon lib/react

Example

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

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