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.07k stars 193 forks source link

feat: add config for the format command #709

Closed jkoenig134 closed 2 months ago

jkoenig134 commented 2 months ago

Description

Added a configuration for the melos format command to manage lineLength and setExitIfChanged using the config.

CLI input will overwrite the config values, but if config states true for setExitIfChanged it cannot be overwritten b/c --set-exit-if-changed is not negatable.

Type of Change

jkoenig134 commented 2 months ago

@spydon as promised in #708

jkoenig134 commented 2 months ago

@spydon do you already have plans when this is released?

spydon commented 2 months ago

@spydon do you already have plans when this is released?

We're trying to land #702 and then do a release. Currently I'm a bit sceptical of those priority groups, I'd rather just have a name for the second priority group and not have the first one at all, and then have the argument name based on that. But we haven't been able to come up with a good name yet, maybe you'd have some suggestion if you had a look? :)

jkoenig134 commented 2 months ago

@spydon I don't think I know what's going on there, but I can try to get into it.