@flowio/eslint-plugin-flowio
v0.0.2
Published
A package that provides ESLint rules used by Flow.io team as an extensible shared plugin
Downloads
5
Readme
eslint-plugin-flowio
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
- flowio/export-extensions: Ensure consistent use of file extension within the export path
License
MIT