iamayushdas edited a comment on pull request #1957: URL: https://github.com/apache/apisix-dashboard/pull/1957#issuecomment-869088946
> Hi, I just checked this PR, and your solution is creating a Husky under the root folder, actually, we only want to format the `web/` folder 🤔 > > > > Do we have some reference or examples using this way? @juzhiyuan https://typicode.github.io/husky/#/?id=custom-directory It is said that it has to be installed inside the directory where `.git` exits because husky is designed in a way that then only it can look for the hooks that are present in` .git` folder, but the preparation could be done in any folder that consists of the package.json The above reference is same as our case we have .git in root folder but package.json in our /web where husky is to be executed in . -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
