[wp-trac] [WordPress Trac] #26429: Introduce .editorconfig to WordPress
WordPress Trac
noreply at wordpress.org
Thu Dec 5 11:39:22 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 TobiasBg):
Yes, that's the type of the newline, and that's clear to me. But what's
the reason to have a newline at the end of the file (which is what
`insert_final_newline` does).
I can imagine that it's just consistency (and that "Some programs have
problems processing the last line of a file if it is not newline-
terminated." in the Wikipedia article), but I'm wondering if there's
"real-life" advantages for having it.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/26429#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list