There is setup for husky pre-commit hooks in the project repository, but the current Husky setup runs 'forge format' in a pre-commit hook, which doesn't include formatted code in the intended commit. We need to fix this process.
Further we also need to add functionality to format the code before it gets staged.
There is setup for husky pre-commit hooks in the project repository, but the current Husky setup runs 'forge format' in a pre-commit hook, which doesn't include formatted code in the intended commit. We need to fix this process. Further we also need to add functionality to format the code before it gets staged.