Trivial update to coding standard document.
This commit is contained in:
parent
fb3dc07a42
commit
21d2dfc80b
@ -259,7 +259,7 @@
|
||||
<h2>1.2 <a name="lines">Lines</a></h2>
|
||||
<p>
|
||||
<b>Line Endings</b>.
|
||||
Files should be formatted with <code>\n</code> as the line ending (Unix-style line endings), not <code>\r\n</code> (Windows line endings).
|
||||
Files should be formatted with the newline character (<code>\n</code>) as the line ending (Unix-style line endings) and specifically <i>not</i> the carriage return, newline sequence (<code>\r\n</code>) used with Windows-style line endings.
|
||||
There should be no extra whitespace at the end of the line.
|
||||
In addition, all text files should end in a single newline (<code>\n</code>). This avoids the <i>"No newline at end of file"</i> warning generated by certain tools.
|
||||
</p>
|
||||
|
Loading…
Reference in New Issue
Block a user