invertase / melos

🌋 A tool for managing Dart projects with multiple packages. With IntelliJ and Vscode IDE support. Supports automated versioning, changelogs & publishing via Conventional Commits.
https://melos.invertase.dev/~melos-latest
Apache License 2.0
1.08k stars 193 forks source link

request: Support `--set-exit-if-changed` in `melos format` #685

Closed spydon closed 1 month ago

spydon commented 4 months ago

Is there an existing feature request for this?

Command

melos format --set-exit-if-changed

Description

The --set-exit-if-changed flag from dart format would be good to propagate from melos format

Reasoning

When running melos format in CI you usually want to do a check with --set-exit-if-changed.

Additional context and comments

No response

utamori commented 1 month ago

This appears to have already been added

spydon commented 1 month ago

Good catch, was solved by https://github.com/invertase/melos/pull/709