mirror of
https://github.com/apache/nuttx.git
synced 2026-09-08 09:56:33 +00:00
Trivial update to coding standard document.
This commit is contained in:
parent
fb3dc07a42
commit
21d2dfc80b
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue