A shared ESLint config for Protocol related projects
Перейти к файлу
Alex Gibson dbcac4b6db Specify dependency when installing from NPM 2019-02-11 15:06:45 +00:00
tests Create split configs for both browser and node envs 2019-02-11 14:02:55 +00:00
.editorconfig Add .editorconfig 2019-02-11 12:45:15 +00:00
.gitignore Initial commit 2019-02-08 10:28:25 +00:00
.npmignore Add .npmignore 2019-02-11 12:47:36 +00:00
.travis.yml Add .travis.yml 2019-02-08 13:57:02 +00:00
CHANGELOG.md Create split configs for both browser and node envs 2019-02-11 14:02:55 +00:00
LICENSE Initial commit 2019-02-08 10:28:25 +00:00
README.md Specify dependency when installing from NPM 2019-02-11 15:06:45 +00:00
index-node.js Create split configs for both browser and node envs 2019-02-11 14:02:55 +00:00
index.js Create split configs for both browser and node envs 2019-02-11 14:02:55 +00:00
package-lock.json Create split configs for both browser and node envs 2019-02-11 14:02:55 +00:00
package.json Create split configs for both browser and node envs 2019-02-11 14:02:55 +00:00

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"