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

run prettier on all JS files in a monolithic make-things-pretty PR #119

Closed
cjyetman opened this issue Dec 4, 2024 · 6 comments
Closed

Comments

@cjyetman
Copy link
Member

cjyetman commented Dec 4, 2024

@jdhoffa maybe you could run prettier on all JS files in a monolithic make-things-pretty PR?

Automatic processes making unrelated changes to PRs makes things more difficult to review/understand/track/etc.

Originally posted by @cjyetman in #115 (comment)

@jdhoffa
Copy link
Member

jdhoffa commented Dec 4, 2024

I spent about a day doing this already to close #29

I don't plan to do that again.

I won't approve PRs that have failing CI checks.

@jdhoffa jdhoffa closed this as completed Dec 4, 2024
@cjyetman
Copy link
Member Author

cjyetman commented Dec 4, 2024

you fixed linting, but you did not fix all the things that prettier wants to force us to do, so now whenever someone touches a JS file, prettier is going to force us to make all these formatting changes to things that have been there since long ago.

I'm not asking to submit PRs with un-pretty or un-linty lines (in the precise changes that I made in that PR). I'm asking that when I submit a PR I'm not forced to fix formatting that is not related to the PR. If you just make it do all the fixes you want it to do now, I'll be happy submitting PRs against the super awesome, beautiful, perfect code that is already there.

@cjyetman cjyetman reopened this Dec 4, 2024
@jdhoffa
Copy link
Member

jdhoffa commented Dec 4, 2024

Please see: #115 (comment)

That has already been done.

The changes were not "formatting", and were entirely related to your PR.

@jdhoffa jdhoffa closed this as completed Dec 4, 2024
@cjyetman
Copy link
Member Author

cjyetman commented Dec 4, 2024

you're mixing up what the linter does and what prettier does.... they're not the same

@jdhoffa
Copy link
Member

jdhoffa commented Dec 4, 2024

"lint": "prettier --check . && eslint .",

@cjyetman
Copy link
Member Author

cjyetman commented Dec 4, 2024

you know what && means, right? 🤣

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

No branches or pull requests

2 participants