-
Notifications
You must be signed in to change notification settings - Fork 38
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 support for linting ECR files #509
Comments
Only major issues would be |
Prototype branch here: https://github.com/nobodywasishere/ameba/tree/nobody/ecr-lint Combined with linting while typing, this makes writing ECR a significantly better experience. |
That sounds like a helpful feature to have ❤️ |
That was my plan, started working on a PR for this last night. Monkey patch was just a hack to showcase proof of concept. |
Unblocked by crystal-lang/crystal#15222 |
This should be a simple process of checking if the filename ends with
.ecr
, then callingECR.process_file
orECR.process_string
(with a clean rescue in case an error occurs), and running the linter over the outputted code.The text was updated successfully, but these errors were encountered: