-
Hi, I am trying to resolve a situation with lefthook unable to find a config file (Error: Config File "lefthook" Not Found in "[/Users/user/documents/project-root]"). I already looked elsewhere with no luck. . project-root
├── README.md
├── .git
├── backend
├── frontend
├── lefthook.yml
├── package.json I assume the issue might be with |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Never mind, I previously thought that lefthook needs to be in the same folder as |
Beta Was this translation helpful? Give feedback.
Never mind, I previously thought that lefthook needs to be in the same folder as
package.json
andnode_modules
. However, it works perfectly fine when I moved it to the folder where git was initialized.This can be closed, sorry for the inconvenience.