-
Notifications
You must be signed in to change notification settings - Fork 63
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
Impossible to satisfy eol-last
rule
#48
Comments
Yeah, I think it makes sense to say that rule doesn't really apply in the context of a Markdown code block. I see two options:
Before making a decision, are there any other rules that don't apply? |
I'd love to do 1 but until we have configuration per file/glob it doesn't look practical (or unless we can find a way to set rules inside Markdown files without using comments in code blocks) so I'd go with 2 with proper documentation. I haven't seen any other rules yet. |
I'd really like to be able to do 1 as well. For reference, glob-based configuration is eslint/eslint#3611. I'll post over there and see if I can help out. |
Fix: Exclude eol-last from output (fixes #48)
With the upgrade to
remark
, it is not impossible to enforceeol-last
because all trailing whitespace on code blocks are removed.May be a good idea to silence this completely internally if possible. Or at least say something about this on docs.
The text was updated successfully, but these errors were encountered: