From 0dc72c1980184aa3a6cf5c1be596fa03340874dc Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Tue, 27 Jan 2026 21:54:05 -0800 Subject: [PATCH] Bump JSHint esversion from 10 to 11 --- .jshintrc | 2 +- Gruntfile.js | 1 - tools/webpack/codemirror-banner.js | 1 - tools/webpack/codemirror.config.js | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.jshintrc b/.jshintrc index d830a103ee7bd..2f1dae4e44dc9 100644 --- a/.jshintrc +++ b/.jshintrc @@ -3,7 +3,7 @@ "curly": true, "eqeqeq": true, "eqnull": true, - "esversion": 10, + "esversion": 11, "expr": true, "immed": true, "noarg": true, diff --git a/Gruntfile.js b/Gruntfile.js index a17c36e1b940b..2f1ea09cbc03a 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -1,5 +1,4 @@ /* jshint node:true */ -/* jshint esversion: 6 */ /* eslint-env es6 */ /* globals Set */ var webpackConfig = require( './webpack.config' ); diff --git a/tools/webpack/codemirror-banner.js b/tools/webpack/codemirror-banner.js index f4e20f80b4fcf..92ddf34ebbbef 100644 --- a/tools/webpack/codemirror-banner.js +++ b/tools/webpack/codemirror-banner.js @@ -1,5 +1,4 @@ /* jshint node:true */ -/* jshint esversion: 6 */ const codemirrorVersion = require( 'codemirror/package.json' ).version; if ( typeof codemirrorVersion !== 'string' ) { throw new Error( 'Could not read CodeMirror version from package.json' ); diff --git a/tools/webpack/codemirror.config.js b/tools/webpack/codemirror.config.js index 2106e9d207425..aac048dccc1ef 100644 --- a/tools/webpack/codemirror.config.js +++ b/tools/webpack/codemirror.config.js @@ -1,5 +1,4 @@ /* jshint node:true */ -/* jshint esversion: 6 */ const path = require( 'path' ); const webpack = require( 'webpack' ); const TerserPlugin = require( 'terser-webpack-plugin' );