eslint-config-mfb-node 
My Food Bag's ESLint configuration for Node.js code.
Installation
npm install --save-dev eslint-config-mfb-nodeor
yarn add -D eslint-config-mfb-nodeAdd "extends": "mfb-node" to your .eslintrc, e.g.
{
"extends": "mfb-node",
"rules": {
}
}Git hooks
You can add a pre-commit hook that will check your code before you commit it.
A bash script, pre-commit.sh, is provided with this repository that you can optionally enable by linking to it from the root directory of your project like this:
$ ln -s ../../pre-commit.sh .git/hooks/pre-commitn.b. This will not run in Source Tree for OS X due to an issue with Source Tree.