Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
tjenkinson committed Dec 26, 2020
1 parent 0951953 commit 1dbcb0a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -446,9 +446,15 @@ For example, here is `jest` running on all `.js` files with the `NODE_ENV` varia
<details>
<summary>Click to expand</summary>
You need to add `micromatch` as a dev dependency.
```sh
$ npm i --save-dev micromatch
```
```js
// lint-staged.config.js
const micromatch = require('micromatch') // you should add this as a dev-dependency
const micromatch = require('micromatch')
const prettier = require('prettier')
const prettierSupportedExtensions = prettier
Expand Down

0 comments on commit 1dbcb0a

Please sign in to comment.