This package provides Atomix's base .eslintrc config for ECMAScript 2017.
Our config bases on Airbnb's eslint config.
Installation:
npm install --save-dev eslint babel-eslint eslint-config-atomix-react
Create .eslintrc
:
{
"extends": "atomix-react",
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2017
}
}
Add test
script to your package.json "test": "eslint src lib bin"
If you don't want es2017 features:
npm install --save-dev eslint eslint-config-atomix-react
{
"extends": "atomix-react"
}