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.
This commit is contained in:
1 parent
848dfa3505
commit
417279cacd
1 file changed
+1
-1
@@ -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`:
|
||||
|
||||
Reference in new issue
Block a user