Make WordPress Core

Changeset 44361


Ignore:
Timestamp:
12/24/2018 01:53:11 PM (5 years ago)
Author:
atimmer
Message:

Build tools: Fix the travis:js build.

After [44359] it is impossible to not use ES6 syntax for some logic in the Gruntfile.js, so adjust the esversion setting for the Gruntfile.js to 6. Because the previous setting in .jshintrc was not compatible with setting esversion, set the esversion in the .jshintrc explicitly.

See #44492.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/.jshintrc

    r41835 r44361  
    44    "eqeqeq": true,
    55    "eqnull": true,
    6     "es3": true,
     6    "esversion": 3,
    77    "expr": true,
    88    "immed": true,
  • trunk/Gruntfile.js

    r44360 r44361  
    11/* jshint node:true */
     2/* jshint esversion: 6 */
    23/* globals Set */
    34var webpackConfig = require( './webpack.config' );
Note: See TracChangeset for help on using the changeset viewer.