#2746 closed defect (bug) (fixed)
Remove deprecated jshint 'onevar" and 'trailing' option from .jshintrc
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 2.6 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Tools - Build | Keywords: | has-patch commit |
| Cc: |
Description (last modified by )
Via #WP28236
A few things here....
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.
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.
JSCS includes equivalent options for ease of migrating settings from JSHint to JSCS
Change History (4)
#1
@
11 years ago
- Component changed from General to Build/Test Tools
- Milestone changed from Awaiting Review to 2.6
Note: See
TracTickets for help on using
tickets.
In 5600: