Skip to content

xfiveco/eslint-config-chisel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config-chisel

Greenkeeper badge

Eslint config based on Aribnb config you can use with ES6. Integrates with Prettier.

Prettier

You'll have to install Prettier on your own in order to use it. It won't be included by default when you install this package. Don't hesitate to add your own .prettierrc file to customise code formatting.

Installation

We recommend to use Yarn however you are free to use NPM. Snippet from the example below will install Eslint and Prettier as you'll need both of them to make use of this config.

yarn add --dev eslint prettier eslint-config-chisel

Usage

Add this to your .eslintrc:

{
    "extends": "chisel"
}

Note that the example above is in JSON. You may need to use YAML depending on your project setup:

  extends: chisel