[wp-trac] [WordPress Trac] #31823: Add JSCS integration
WordPress Trac
noreply at wordpress.org
Tue Mar 31 20:19:59 UTC 2015
#31823: Add JSCS integration
------------------------------+-----------------------------
Reporter: westonruter | Owner:
Type: enhancement | Status: new
Priority: lowest | Milestone: Awaiting Review
Component: Build/Test Tools | Version:
Severity: normal | Keywords:
Focuses: javascript |
------------------------------+-----------------------------
The [http://jscs.info/ JSCS] project has [https://github.com/jscs-dev
/node-jscs/issues/1099 added] a [https://github.com/jscs-dev/node-
jscs/blob/master/presets/wordpress.json wordpress] preset. This could be
useful to be included in Core. All it needs is a `.jscsrc` file located in
the root which contains:
{{{#!js
{
"preset": "wordpress"
}
}}}
Related:
#30153 (PHP_CodeSniffer)
#25187 (JSHnt)
#28543 (Allow stricter JSHint checks for core files)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31823>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list