Skip to content

Commit 03018d7

Browse files
authored
Update docs according to lint-staged v10 (#8394)
1 parent 6ee4e91 commit 03018d7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docusaurus/docs/setting-up-your-editor.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,7 @@ Next we add a 'lint-staged' field to the `package.json`, for example:
151151
},
152152
+ "lint-staged": {
153153
+ "src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
154-
+ "prettier --write",
155-
+ "git add"
154+
+ "prettier --write"
156155
+ ]
157156
+ },
158157
"scripts": {

0 commit comments

Comments
 (0)