StabilityNexus / FairFund

6 stars 9 forks source link

Add/Improve Husky and lint-staged Setup #23

Closed adityabhattad2021 closed 4 months ago

adityabhattad2021 commented 4 months ago

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.