655 B
655 B
eslint-config-protocol
A shared ESLint config for Protocol related projects.
Installation
npm install @mozilla-protocol/eslint-config --save-dev
Configuration
For browser environments, extend your .eslintrc.js
config file with default rule set:
extends: "@mozilla-protocol/eslint-config"
For Node environments, extend the index-node
rule set:
extends: "@mozilla-protocol/eslint-config/index-node"