ESLINT package for SkyAlert projects
Best practices and way of code in Organization. Based on package config eslint-config-airbnb-base
and plugin eslint-plugin-react
.
To use it is needed eslint
as devDependency
:
$ npm install -D eslint
Then this package is ready yo be installed:
$ npm install -D @skyalert/eslint-config
To get all ready, is needed a file .eslintrc
in the project's root:
{
"extends": "@skyalert"
}
If there's more than a package in the project (e.g. using lerna
), copy the same .eslintrc
in every package root