TruSTAR's ESLint Config
The shared config we use at TruSTAR. Based on Airbnb JavaScript
Usage
Be sure to install all the necessary peer dependencies along with this module:
npm install --save-dev eslint-config-trustar eslint eslint-plugin-react eslint-config-airbnb-base eslint-plugin-import eslint-plugin-flow-vars babel-eslint
Then create a new .eslintrc
which extends trustar:
{
"extends": ["trustar"]
}
That's all!
Contributing
Our coding style subjective and we're happy for feedback. If you'd like to make a suggestion or feel that any of our rules should be changed feel free to open a pull request.