From a78074dfddb767cd2165af19c33b497767aa5d43 Mon Sep 17 00:00:00 2001 From: Richard Littauer Date: Sun, 10 Jan 2016 15:25:40 -0500 Subject: [PATCH] Added precommit --- js-contribution-guidelines.md | 1 + 1 file changed, 1 insertion(+) diff --git a/js-contribution-guidelines.md b/js-contribution-guidelines.md index a5068ea6..6df104a5 100644 --- a/js-contribution-guidelines.md +++ b/js-contribution-guidelines.md @@ -16,3 +16,4 @@ Many IPFS projects use JavaScript. Please check these guidelines before contribu - Browser building: [webpack](https://webpack.github.io/) or [browserify](http://browserify.org/). - Linting: Use [standard](//github.com/feross/standard). If you have to configure styles at the repo level because you or we are using Babel and ES6, use [eslint](https://github.com/eslint/eslint), [eslint-config-standard](https://github.com/feross/eslint-config-standard), and [babel-eslint](https://github.com/babel/babel-eslint) as needed. (If you're not sure, use standard). - Use [greenkeeper](http://greenkeeper.io/) to keep your deps up to date. +- Use [precommit](https://www.npmjs.com/package/pre-commit) to run tests while developing.