eslint-plugin-bonio
v0.2.1
Published
BoniO's custom eslint rules.
Downloads
405
Readme
eslint-plugin-bonio
BoniO's custom eslint rules.
Installation
You'll first need to install ESLint:
yarn add -D eslint
Next, install eslint-plugin-bonio
:
yarn add -D eslint-plugin-bonio
Usage
Add bonio
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
plugins:
- bonio
Then configure the rules you want to use under the rules section.
rules:
bonio/invalid-tracking-event-name: warn
bonio/tracking-code-prefix: warn
bonio/no-duplicate-name: error