[wp-trac] [WordPress Trac] #28543: Allow stricter JSHint checks for core files
WordPress Trac
noreply at wordpress.org
Sun Jun 15 12:53:00 UTC 2014
#28543: Allow stricter JSHint checks for core files
------------------------------+-----------------------------
Reporter: MattyRob | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version: trunk
Severity: normal | Keywords:
Focuses: javascript |
------------------------------+-----------------------------
http://make.wordpress.org/core/2013/11/13/finding-fixing-javascript-
errors-with-jshint/
Many JSHint issues were fixed in core JavaScript files for the release of
WordPress 3.8 (if I recall correctly). The above post makes refetene to
“curly” and “eqeqeq” being ignored for now but would be revisited in the
future.
I think therefore it makes sense to implement a stricter set of JSHint
checks for core files. This could be done by simply making the current
'''jshint:core''' task striker or a new '''jshint:corestrict''' could be
introduced as per the attached patch.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28543>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list