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

Create separate mojos/goals for separate formatters #254

Open
ctubbsii opened this issue Oct 28, 2017 · 2 comments
Open

Create separate mojos/goals for separate formatters #254

ctubbsii opened this issue Oct 28, 2017 · 2 comments

Comments

@ctubbsii
Copy link
Member

This is something I've been thinking about for awhile, and convinced it will be beneficial for users, to simplify configuration and satisfy a variety of user needs.

I think the existing mojo which formats everything is fine, but I think we can also create mojos which are more limited in scope, such as a format-java, format-javascript, format-xml, etc. goals. This will allow language-specific includes/excludes and more control over when in the build lifecycle specific file types are formatted.

The current mojo could be deprecated in favor of a format-all goal, but the current name is probably also fine.

@hazendaz
Copy link
Member

+1

1 similar comment
@WalterMourao
Copy link

+1

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

3 participants