Changes between Initial Version and Version 3 of Ticket #2746
- Timestamp:
- 02/28/2015 04:44:56 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2746
-
Property
Status
changed from
newtoclosed -
Property
Component
changed from
GeneraltoBuild/Test Tools -
Property
Summary
changed from
Remove jshint 'trailing' option from .jshintrctoRemove deprecated jshint 'onevar" and 'trailing' option from .jshintrc -
Property
Milestone
changed from
Awaiting Reviewto2.6 - Property Owner set to netweb
-
Property
Resolution
changed from
tofixed
-
Property
Status
changed from
-
Ticket #2746 – Description
initial v3 1 As of JSHint v2.5 option `trailing` is no longer an option. 1 Via #WP28236 2 3 A few things here.... 4 5 Since we are now using JSHint v2.5 via `grunt-contrib-jshint` v0.10.0 in our `package.json` the `onevar` and `trailing` options in `.jshintrc` are pointless, support for both of these was removed in JSHint v2.5. 6 7 I've had my head in JSCS for the past couple of days and I'll create a JSCS ticket and link back here once done to investigate JSCS options further and to add support for these now removed `onevar` and `trailing` options via JSCS. 8 9 JSCS includes equivalent options for ease of migrating settings from JSHint to JSCS 10 11 * `onevar` - http://jscs.info/rules.html#requiremultiplevardecl 12 * `trailing` - http://jscs.info/rules.html#disallowtrailingwhitespace 2 13 3 14 See https://github.com/jshint/jshint/pull/1554