Skip to content
A shared ESLint config for Protocol related projects
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
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

Build Status

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"
You can’t perform that action at this time.