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

fix solidity formatting #994

Merged
merged 2 commits into from
Nov 25, 2024
Merged

fix solidity formatting #994

merged 2 commits into from
Nov 25, 2024

Conversation

technophile-04
Copy link
Collaborator

Description:

This discussion was born while working on CTF, Thanks to @carletex for pointing it out.

Solidity formatting was not handled properly and now we follow https://docs.soliditylang.org/en/latest/style-guide.html

Also another reason to create this PR was add this in hardhat/package.json:

"format": "prettier --write './**/*.(ts|sol)'",

This compliments scaffold-eth#158 (comment)

Copy link
Member

@damianmarti damianmarti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!! I noticed it one month ago too, I opened a discussion #970 Closing the discussion... Thanks!!

Copy link
Member

@carletex carletex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!! Thanks Shiv.

@carletex carletex merged commit beefe9d into main Nov 25, 2024
1 check passed
@carletex carletex deleted the fix-solidity-formatting branch November 25, 2024 11:05
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.

3 participants