0.0.2 • Published 4 years ago

@flowio/eslint-plugin-flowio v0.0.2

Weekly downloads
88
License
MIT
Repository
github
Last release
4 years ago

eslint-plugin-flowio

Build Status Greenkeeper badge

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