Skip to content

Commit

Permalink
Update docs according to lint-staged v10 (#8394)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukyth authored Jan 31, 2020
1 parent 6ee4e91 commit 03018d7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docusaurus/docs/setting-up-your-editor.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,7 @@ Next we add a 'lint-staged' field to the `package.json`, for example:
},
+ "lint-staged": {
+ "src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
+ "prettier --write",
+ "git add"
+ "prettier --write"
+ ]
+ },
"scripts": {
Expand Down

0 comments on commit 03018d7

Please sign in to comment.