From 417279cacda0baaae0e4981c365b2730faf101b0 Mon Sep 17 00:00:00 2001 From: Vincent Voyer Date: Fri, 17 Feb 2017 11:10:07 -0800 Subject: [PATCH] docs(README): use yarn add for consistency (#734) Other places we say we default to yarn but then we use npm, was confusing a bit. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c4ab30824..fd6c0b4a1 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,7 @@ In the future we will have better support for formatting whole projects. Install it along with [pre-commit](https://github.com/observing/pre-commit) (or [husky](https://github.com/typicode/husky)): ```bash -npm install --save-dev lint-staged pre-commit +yarn add lint-staged pre-commit --dev ``` and add this config to your `package.json`: