Esanders has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/338743 )
Change subject: Mark all node files as es6 ...................................................................... Mark all node files as es6 Change-Id: Ib6129712be0d2322d02e3cff3a62c279ee059800 --- M Gruntfile.js M build/moduleUtils.js M build/tasks/buildloader.js M build/tasks/git-build.js 4 files changed, 4 insertions(+), 4 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/VisualEditor/VisualEditor refs/changes/43/338743/1 diff --git a/Gruntfile.js b/Gruntfile.js index 468ebd5..d9f15ad 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -4,7 +4,7 @@ * @package VisualEditor */ -/* eslint-env node */ +/* eslint-env node, es6 */ module.exports = function ( grunt ) { var modules = grunt.file.readJSON( 'build/modules.json' ), diff --git a/build/moduleUtils.js b/build/moduleUtils.js index eb1388a..8bf2437 100644 --- a/build/moduleUtils.js +++ b/build/moduleUtils.js @@ -4,7 +4,7 @@ * Code shared with the OOjs UI project */ -/* eslint-env node */ +/* eslint-env node, es6 */ var self = module.exports = { /** * Expand an array of file paths and variant-objects into diff --git a/build/tasks/buildloader.js b/build/tasks/buildloader.js index 9fb752c..90cfec7 100644 --- a/build/tasks/buildloader.js +++ b/build/tasks/buildloader.js @@ -2,7 +2,7 @@ * Build a static loader file from a template */ -/* eslint-env node */ +/* eslint-env node, es6 */ module.exports = function ( grunt ) { grunt.registerMultiTask( 'buildloader', function () { diff --git a/build/tasks/git-build.js b/build/tasks/git-build.js index 8f27e52..dfd2b53 100644 --- a/build/tasks/git-build.js +++ b/build/tasks/git-build.js @@ -2,7 +2,7 @@ * Change the in-memory package version to contain the git HEAD */ -/* eslint-env node */ +/* eslint-env node, es6 */ module.exports = function ( grunt ) { grunt.registerTask( 'git-build', function () { -- To view, visit https://gerrit.wikimedia.org/r/338743 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib6129712be0d2322d02e3cff3a62c279ee059800 Gerrit-PatchSet: 1 Gerrit-Project: VisualEditor/VisualEditor Gerrit-Branch: master Gerrit-Owner: Esanders <esand...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits