popojargo commented on a change in pull request #1206: Added editor config 
based on styleguide - #1205
URL: https://github.com/apache/couchdb-fauxton/pull/1206#discussion_r305141085
 
 

 ##########
 File path: package.json
 ##########
 @@ -15,16 +15,34 @@
       "react"
     ]
   },
+  "husky": {
+    "hooks": {
+      "pre-commit": "lint-staged"
+    }
+  },
+  "lint-staged": {
+    "*.{js,jsx}": [
+      "pretty-quick --staged",
+      "eslint . --fix",
+      "git add"
 
 Review comment:
   Why the `git add` here?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to