Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

MyFoodBag/eslint-config-mfb-node

Repository files navigation

Deprecated

This project is no longer maintained. Please use https://github.com/MyFoodBag/eslint for future linting needs!

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published