[wp-trac] [WordPress Trac] #38752: Twenty Seventeen: JavaScript coding standards
WordPress Trac
noreply at wordpress.org
Fri Nov 11 09:20:37 UTC 2016
#38752: Twenty Seventeen: JavaScript coding standards
---------------------------+-------------------------
Reporter: afercia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7
Component: Bundled Theme | Version: trunk
Severity: normal | Keywords: needs-patch
Focuses: |
---------------------------+-------------------------
All the Twenty Seventeen JavaScript files, excluding third party files,
should be checked for proper [https://make.wordpress.org/core/handbook
/best-practices/coding-standards/javascript/ coding standards].
A few things noticed so far:
- proper indentation
- mixed tabs and spaces
- missing space between `if` and brace (one occurrence)
- double spaces
Details, but I guess it's important to show best practices and enforce the
usage of coding standards.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38752>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list