You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I had the pleasure of working on PR #246, which lead me to discover a few areas in the repo where improvements could be made:
Lack of commit message linting: I noticed that most commit messages implement an emoji format, but once issue is that the format is not being enforced. I would suggest enforcing commit linting rules either via a Husky local development hook or via a GitHub Action. I would personally prefer using the Conventional Commit format with commitlint, but I think it should also be possible to configure commitlint to support the emoji commit message format.
Apply a more standardized method of writing unit tests in both Foundry and Hardhat: Regarding Foundry, I personally prefer Sablier's test setup and conventions, which include the Branching Tree Technique. There's even a utility called Bulloak which enables converting written tree files into test boilerplate. This would make it easier for new developers to know the exact format of tests they are expected to deliver. It would also make it easier to spot and issues in tests if everyone was writing them using the same format.
Clearer instructions for onboarding new developers: For example, I personally ran into an issue with starting a fork environment to be able to run the fork tests and ended up adding the line vm.createSelectFork locally in the setup phase of each fork test in order to run the tests successfully.
The text was updated successfully, but these errors were encountered:
Recently I had the pleasure of working on PR #246, which lead me to discover a few areas in the repo where improvements could be made:
vm.createSelectFork
locally in the setup phase of each fork test in order to run the tests successfully.The text was updated successfully, but these errors were encountered: