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

Add auto-formatter to Flycheck #1041

Closed
3 tasks
swsnr opened this issue Aug 18, 2016 · 3 comments
Closed
3 tasks

Add auto-formatter to Flycheck #1041

swsnr opened this issue Aug 18, 2016 · 3 comments
Assignees

Comments

@swsnr
Copy link
Contributor

swsnr commented Aug 18, 2016

Add maint/format.el and a corresponding make format which formats all sources according to our style guide as far as possible. It should

  • reindent the buffer (requires loading unfortunately)
  • cleanup whitespace to remove tabs, trailing spaces, etc.
  • further ideas?

We should also replace the test that checks for proper indentation with a test that checks for proper formatting by applying the formatter to a file and checking for modifications.

@swsnr swsnr self-assigned this Aug 18, 2016
@manuel-uberti
Copy link
Contributor

Very nice idea.

Could there be naming conventions (i.e.: a checker's name) to check?

@swsnr
Copy link
Contributor Author

swsnr commented Aug 18, 2016

@manuel-uberti Maybe, but not within the scope of this ticket.

@manuel-uberti
Copy link
Contributor

@lunaryorn ok. Then reidenting the buffer and cleaning up whitespaces/tabs should be enough.

swsnr added a commit that referenced this issue Aug 19, 2016
swsnr added a commit that referenced this issue Aug 25, 2016
@swsnr swsnr closed this as completed in 1888ee7 Aug 26, 2016
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