Deck.gl specific linting rules for ESLint
npm install eslint-plugin-deckglESLint-plugin-DeckGL
===================
Deck.gl specific linting rules for ESLint
Install ESLint either locally or globally. (Note that locally, per project, is strongly preferred)
``sh`
$ npm install eslint --save-dev
If you installed ESLint globally, you have to install Deck.gl plugin globally too. Otherwise, install it locally.
`sh`
$ npm install https://github.com/jstaab/eslint-plugin-deckgl --save-dev
Add "deckgl" to the plugins section.
`json`
{
"plugins": [
"deckgl"
]
}
Enable the rules that you would like to use.
`json``
"rules": {
"deckgl/exhaustive-triggers": "warning"
}
ESLint-plugin-DeckGL is licensed under the MIT License.