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

formatter #317

Closed
bakkot opened this issue Apr 18, 2021 · 0 comments · Fixed by #367
Closed

formatter #317

bakkot opened this issue Apr 18, 2021 · 0 comments · Fixed by #367

Comments

@bakkot
Copy link
Contributor

bakkot commented Apr 18, 2021

As I add more lint rules, I increasingly feel the lack of auto-fixing. And thinking about that problem, I think it's time to approach from the other direction: all whitespace-related rules, as well things like capitalization of tags and commas at the end of 1. Repeat, and so on, would be subsumed by a tool which took in ecmarkup and spit out a canonical formatting. The linter could just run this and assert that the output was identical to the input, like the prettier plugin for eslint.

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

Successfully merging a pull request may close this issue.

1 participant