[wp-trac] [WordPress Trac] #26429: Introduce .editorconfig to WordPress
WordPress Trac
noreply at wordpress.org
Thu Dec 5 10:36:40 UTC 2013
#26429: Introduce .editorconfig to WordPress
-------------------------+------------------------------
Reporter: netweb | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build Tools | Version: trunk
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------------------
Comment (by netweb):
Replying to [comment:3 TobiasBg]:
> Are you aware of any situations where the EOF newline is required or
beneficial? My personal style so far is to not have them, that's why I'm
asking.
The primary reason is different operating systems handle line endings
differently and this gives the editors/IDE's of the respective platform a
consistent format to treat the line endings appropriately:
via https://en.wikipedia.org/wiki/Newline#Representations
* LF: Unix and Unix-like systems including MacOS
* CR+LF: Microsoft Windows
--
Ticket URL: <http://core.trac.wordpress.org/ticket/26429#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list