eslint-plugin-flowio
![Greenkeeper badge](https://badges.greenkeeper.io/flowcommerce/eslint-plugin-flowio.svg)
A package that provides ESLint rules used by Flow.io team as an extensible shared plugin.
Installation
Install ESLint either locally or globally.
$ npm install --save-dev eslint
If you installed ESLint globally, you have to install this plugin globally too.
Otherwise, install it locally.
$ npm install --save-dev @flowio/eslint-plugin-flowio
Configuration
Add plugins section and specify esling-plugin-flowio
as a plugin.
{
"plugins": [
"@flowio/flowio"
]
}
Finally, enable all of the rules that you would like to use. Use our preset to
get reasonable defaults quickly, and/or choose your own:
{
"rules": {
"flowio/export-extensions": "error"
}
}
List of supported rules
License
MIT