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

Format Source #109

Merged
merged 2 commits into from
Oct 24, 2023
Merged

Format Source #109

merged 2 commits into from
Oct 24, 2023

Conversation

nlordell
Copy link
Collaborator

@nlordell nlordell commented Oct 24, 2023

This PR just formats the source in the 4337 module repo so it is consistent. It is done with prettier --ignore-path .gitignore --write . (I updated the package.json to include a fmt script that calls this exact incantation). Additionally, I noticed that .vscode/launch.json was formatted, but it contained old Truffle stuff that is clearly not being used so I opted to remove the file instead of including its formatted source in this PR.

As a follow up question - do you think it is worth enforcing formatting of TypeScript code at a CI level or not?

Furthermore, this adds a check in CI to ensure that files are properly formatted.

@nlordell nlordell requested a review from a team as a code owner October 24, 2023 13:15
@nlordell nlordell requested review from rmeissner, Uxio0, akshay-ap and mmv08 and removed request for a team October 24, 2023 13:15
@mmv08
Copy link
Member

mmv08 commented Oct 24, 2023

As a follow up question - do you think it is worth enforcing formatting of TypeScript code at a CI level or not?

Absolutely

@coveralls
Copy link

Pull Request Test Coverage Report for Build 6627713378

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 6626598002: 0.0%
Covered Lines: 26
Relevant Lines: 26

💛 - Coveralls

@nlordell nlordell merged commit 3b64b54 into master Oct 24, 2023
4 checks passed
@nlordell nlordell deleted the chore/format-source branch October 24, 2023 13:45
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