2.0.0 • Published 5 years ago

eslint-config-mfb-node v2.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

eslint-config-mfb-node Build Status

My Food Bag's ESLint configuration for Node.js code.

Installation

npm install --save-dev eslint-config-mfb-node

or

yarn add -D eslint-config-mfb-node

Add "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-commit

n.b. This will not run in Source Tree for OS X due to an issue with Source Tree.

2.0.0

5 years ago

1.1.0

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago