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

feat(format): add formatting linter #102

Closed
sergekh2 opened this issue Nov 1, 2022 · 3 comments
Closed

feat(format): add formatting linter #102

sergekh2 opened this issue Nov 1, 2022 · 3 comments

Comments

@sergekh2
Copy link

sergekh2 commented Nov 1, 2022

Add -n, --dryrun option to format command and exit with 0 if there are no formatting changes, and 1 if formatting changes are required.

This will allow to check formatting in CI hooks and scripts.

@JamieMason JamieMason changed the title Add -n, --dryrun option to format command feat(format): add formatting linter May 28, 2023
@JamieMason
Copy link
Owner

Released in 12.3.0.

👋 If anyone reading this finds syncpack useful, please tell people about it.

@JamieMason
Copy link
Owner

/cc @danielpza, @dcecile, and @tamird (+1'd this issue)

@fantua
Copy link

fantua commented Aug 30, 2024

Hey, thanks for this feature! It would be nice mention format check in lint command docs:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants