8000 Add CI check for formatting more languages by elalish · Pull Request #441 · elalish/manifold · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add CI check for formatting more languages #441

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

Merged
merged 2 commits into from
May 26, 2023
Merged

Add CI check for formatting more languages #441

merged 2 commits into from
May 26, 2023

Conversation

elalish
Copy link
Owner
@elalish elalish commented May 26, 2023

Let's see if this works. FYI @geoffder.

@elalish elalish self-assigned this May 26, 2023
@geoffder
Copy link
Collaborator

This will mean the CI complains, but without configs for the particular formatters we won't be coordinated to keep the checks happy will we? I'm not sure what it is that is being run for my formatting by the lsp, I think it's prettier for js. So I think we'd need a prettier config.

@elalish
Copy link
Owner Author
elalish commented May 26, 2023

I'm using clang-format for everything, with .clang-format controlling it. Can you set up lsp that way?

@geoffder
Copy link
Collaborator

Oh, I wasn't aware clang-format did non C/C++ stuff. I'll look into swapping that in.

@codecov
Copy link
codecov bot commented May 26, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (7293521) 89.70% compared to head (dfdd355) 89.70%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #441   +/-   ##
=======================================
  Coverage   89.70%   89.70%           
=======================================
  Files          35       35           
  Lines        4237     4237           
=======================================
  Hits         3801     3801           
  Misses        436      436           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@geoffder
Copy link
Collaborator

I've got clang-format running now, but it looks like I'm going to have to wrestle with it a bit. It is splitting => into = >, which needless to say, is not so good.

@geoffder
Copy link
Collaborator

Alright, well I never figured out why running clang-format through the usual formatter setup, but I went around it! Diffs are way down on the JS PR, so it seems like it is working as advertised.

@elalish elalish merged commit eb41b9d into master May 26, 2023
@elalish elalish deleted the lintJS branch May 26, 2023 15:19
@elalish elalish mentioned this pull request Nov 3, 2023
cartesian-theatrics pushed a commit to cartesian-theatrics/manifold that referenced this pull request Mar 11, 2024
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
0