Skip to content

Rename package/repo to formatter #180

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

Closed
seaneagan opened this issue Feb 23, 2015 · 2 comments
Closed

Rename package/repo to formatter #180

seaneagan opened this issue Feb 23, 2015 · 2 comments

Comments

@seaneagan
Copy link

This package/repo essentially provides a "formatter for dart". dart_style doesn't really convey that, and formatter would be more consistent with the linter package.

@munificent
Copy link
Member

I think the package name should have "dart" in it, since it's specific to styling Dart code. (This is different from the guideline to avoid putting "dart" in a package name because the package is implemented in Dart. In this case, "dart" means "this package is for working with Dart code".)

I could change the name to dart_formatter or dartfmt, but I'm not sure if it's worth the effort. The former is more precise, but it's still different from the command name so doesn't really clarify much. The latter matches the command name, but is now an ugly name.

I still wouldn't be surprised if we ended up with more functionality than just the formatter in here, so I don't know if it adds value to tighten the name today.

@seaneagan
Copy link
Author

Came up here:

google/grinder.dart#168 (comment)

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