StabilityNexus / FairFund

5 stars 8 forks source link

Add/Improve Husky and lint-staged Setup #23

Closed adityabhattad2021 closed 3 months ago

adityabhattad2021 commented 3 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.