dbcac4b6db | ||
---|---|---|
tests | ||
.editorconfig | ||
.gitignore | ||
.npmignore | ||
.travis.yml | ||
CHANGELOG.md | ||
LICENSE | ||
README.md | ||
index-node.js | ||
index.js | ||
package-lock.json | ||
package.json |
README.md
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"