A package that provides ESLint rules used by Flow.io team as an extensible shared plugin.
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
Add plugins section and specify
esling-plugin-flowio as a plugin.
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:
List of supported rules
- flowio/export-extensions: Ensure consistent use of file extension within the export path