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 eslint #16046

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fix eslint #16046

wants to merge 1 commit into from

Conversation

letanloc1998
Copy link

Q                       A
Fixed Issues? No
Patch: Bug Fix? No
Major: Breaking Change? No
Minor: New Feature? No
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes? No
License MIT

Run make fix => there are many changes => I suggest we should fix it to easier commit the change in the future

@babel-bot
Copy link
Collaborator

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/55674/

Copy link
Member

@nicolo-ribaudo nicolo-ribaudo left a comment

Choose a reason for hiding this comment

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

I agree that make fix causing all these changes is incredibly confusing, but I would prefer to just not format our JSON files (since often manually-formatted JSON is more readable).

Could you open a PR to make make fix just an alias for make fix-js rather than make fix-js fix-json instead?

@fisker
Copy link
Contributor

fisker commented Dec 7, 2023

You may wan try use json-stringify parser for these files. https://prettier.io/docs/en/options#parser

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.

None yet

4 participants