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

single Prettier config #9664

Merged
merged 2 commits into from
Jul 8, 2024
Merged

single Prettier config #9664

merged 2 commits into from
Jul 8, 2024

Conversation

turadg
Copy link
Member

@turadg turadg commented Jul 8, 2024

incidental

Description

In a recent multichain-testing PR the Shell script format changed without any CI errors, suggesting it wasn't under the lint:format check. The reason is that the directory wasn't included in the root lint:format paths. This adds them there and the root format command.

It also removes the Prettier config within the package so that the repo's one at root is used. Code formatting is a repo-level concern. Packages need only depend on 'prettier' when they have a runtime dependency.

This also bumps prettier to latest for good measure.

Security Considerations

none

Scaling Considerations

none

Documentation Considerations

none

Testing Considerations

lint:format tested locally to fail if I force an error in a .sh, and repaired with format.

Upgrade Considerations

none

@turadg turadg requested review from Jovonni and 0xpatrickdev July 8, 2024 15:33
@turadg turadg added the automerge:rebase Automatically rebase updates, then merge label Jul 8, 2024
@mergify mergify bot merged commit 5b02250 into master Jul 8, 2024
86 checks passed
@mergify mergify bot deleted the ta/prettier-repo branch July 8, 2024 17:10
@erights
Copy link
Member

erights commented Jul 8, 2024

What about Endo? Attn @kriskowal

0xpatrickdev added a commit that referenced this pull request Jul 10, 2024
- seem like it was missed in #9664, but not caught since this job runs after merges to master
0xpatrickdev added a commit that referenced this pull request Jul 10, 2024
- seem like it was missed in #9664, but not caught since this job runs after merges to master
0xpatrickdev added a commit that referenced this pull request Jul 10, 2024
- seem like it was missed in #9664, but not caught since this job runs after merges to master
0xpatrickdev added a commit that referenced this pull request Jul 10, 2024
- seem like it was missed in #9664, but not caught since this job runs after merges to master
0xpatrickdev added a commit that referenced this pull request Jul 10, 2024
- seem like it was missed in #9664, but not caught since this job runs after merges to master
0xpatrickdev added a commit that referenced this pull request Jul 10, 2024
- seem like it was missed in #9664, but not caught since this job runs after merges to master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge:rebase Automatically rebase updates, then merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants