|
|
|
|
|
by jftuga
1354 days ago
|
|
I like the idea of only showing filenames that fail using -f so I created an issue for that. According to: https://en.wikipedia.org/wiki/Newline#Representation CR does not appear to really be used as EOL. Also, I don't think having different EOL chars within the same file is really a thing. |
|
https://github.com/jftuga/chars/issues/2
According to the page, several machines and operating systems used CR as EOL. While the systems are all obsolete, files from that era that use CR as EOL could persist and be transferred to modern systems. Clearly those are weird on modern systems, so they should be warned about in a linting situation, which I would like to use your project 'chars' in.
Having different EOL chars within the same file is definitely a thing, usually by mistake. I had to fix a bug about this recently:
https://github.com/EionRobb/purple-discord/pull/416