0.0.3 • Published 4 years ago
eslint-plugin-deckgl v0.0.3
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-devIf 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-devConfiguration
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.