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

move line ending validation to linter warning #182

Open
mcandre opened this issue Apr 27, 2023 · 0 comments
Open

move line ending validation to linter warning #182

mcandre opened this issue Apr 27, 2023 · 0 comments

Comments

@mcandre
Copy link
Owner

mcandre commented Apr 27, 2023

At parse level, permit CRLF wherever we permit LF.

After parsing, scan the contents again for CRLF. If any is present, emit a warning.

We could treat the rare, vintage CR line ending as a documentation detail. Or go ahead and accept CR in the parser, and likewise emit an error on any CR or CRLF.

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

1 participant