Eslint config based on Aribnb config you can use with ES6. Integrates with 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.
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
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