eslint-config-mongodb-js

eslint shareable configs for mongodb-js.
Usage
Shareable configs are designed to work with the extends
feature
of .eslintrc
files. This allows us to easily extend from a base
configuration to provide the right rules for all of the various
types of modules we work on:
mongodb-js
mongodb-js/node
mongodb-js/browser
mongodb-js/shell
mongodb-js/react
You can learn more about Shareable Configs on the official ESLint website.
Examples
To use the mongodb-js shareable config, first run:
npm install --save-dev eslint eslint-config-mongodb-js
The barebones mongodb-js ./.eslintrc
file looks like:
{
"extends": "mongodb-js"
}
If your project runs primarily on the server, your ./.eslintrc
might look something like:
{
"extends": "mongodb-js/node"
}
If you're working on a UI project that uses browserify:
{
"extends": "mongodb-js/browser"
}
License
Apache 2.0