Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration of Solhint for Enhanced Solidity Code Quality #20

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

susumutomita
Copy link
Contributor

This pull request addresses Issue #19 by integrating Solhint, a linter for Solidity, into our project. The inclusion of a linter is crucial as our project continues to involve more smart contract development on Ethereum. Here are the key changes made in this PR:

Changes

  • Added Solhint as a devDependency in package.json.
  • Configured Solhint using a .solhint.json configuration file.

It's worth noting that upon running Solhint, numerous linting errors were identified across our Solidity files. Addressing these errors is important for improving the overall code quality of our project. However, to keep this PR focused and manageable, I plan to address the linting errors in a separate follow-up PR. This approach will also allow us to discuss and potentially adjust our Solhint configuration or coding standards as needed before correcting all identified issues.

@motemotech
Copy link
Contributor

@susumutomita
Sry, I don't migrate this change to new repo, since we use foundry as a main tool and foundry is not really friendly to npm packages.
Could you find a good linter for forge command and post PR againt to new repo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants