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

Feature: Format command rewriting the file completely according to some rules #142

Closed
yoheimuta opened this issue Dec 19, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@yoheimuta
Copy link
Owner

ref. #139 (comment)

vs. -fix option:

  • -fix option is so conservative that it doesn't force an opinionated format by following the explicitly specified rules with granular settings. While it's useful, sometimes it's too complicated to implement editing only a small fraction of the file content.
  • format command is supposed to be an opinionated feature so that it can fully rewrite the file content according to the choice of some predefined styles. It would be expected to complement the -fix option.

For example, I presume it results in easier support for the file structure guidelines.

@yoheimuta
Copy link
Owner Author

Practically speaking, I've done this issue with #111.
For now, I will close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant