[wp-trac] [WordPress Trac] #40828: JavaScript Standard Style
WordPress Trac
noreply at wordpress.org
Sat May 20 19:05:09 UTC 2017
#40828: JavaScript Standard Style
------------------------------+------------------------------
Reporter: jhabdas | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
------------------------------+------------------------------
Comment (by jdgrimes):
Standard is probably great for many JS projects, but I'm not sure that it
is right for WordPress. WordPress is not a single-language project, it
uses PHP in addition to JS. We try to keep many of the code style rules
fairly similar across languages to simplify things. Standard uses some
rules that are very different from our long-established PHP standards, and
as such it would create a disunity of code styles throughout the project
(since I don't see any chance of changing our PHP styles to match).
I think that the bike shed has been painted, and we'll probably want to
keep it the same color that it already is for now.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40828#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list