0.0.3 • Published 3 years ago

eslint-plugin-deckgl v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

ESLint-plugin-DeckGL

Deck.gl specific linting rules for ESLint

Installation

Install ESLint either locally or globally. (Note that locally, per project, is strongly preferred)

$ npm install eslint --save-dev

If you installed ESLint globally, you have to install Deck.gl plugin globally too. Otherwise, install it locally.

$ npm install https://github.com/jstaab/eslint-plugin-deckgl --save-dev

Configuration

Add "deckgl" to the plugins section.

{
  "plugins": [
    "deckgl"
  ]
}

Enable the rules that you would like to use.

  "rules": {
    "deckgl/exhaustive-triggers": "warning"
  }

License

ESLint-plugin-DeckGL is licensed under the MIT License.