@isogon/eslint-config
v0.0.13
Published
The way all isogon code should look.
Downloads
7
Readme
@isogon/eslint-config
Installation
yarn add -D @isogon/eslint-config
Install our peer dependencies. If you are on linux you can run
yarn info @isogon/eslint-config peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs yarn add -D
Usage
Simple usage
Create a lint script for yarn to run
{
"scripts": {
"lint": "eslint -c @isogon ."
}
}
If you need to tweak it
Create .eslint-config
, and create a lint script that yarn can run in your package.json
:
{
"extends": "@isogon"
}
{
"scripts": {
"lint": "eslint ."
}
}