0.2.1 • Published 2 years ago
eslint-plugin-bonio v0.2.1
eslint-plugin-bonio
BoniO's custom eslint rules.
Installation
You'll first need to install ESLint:
yarn add -D eslintNext, install eslint-plugin-bonio:
yarn add -D eslint-plugin-bonioUsage
Add bonio to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
plugins:
- bonioThen 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