Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"curly": true,
"eqeqeq": true,
"eqnull": true,
"esversion": 10,
"esversion": 11,
"expr": true,
"immed": true,
"noarg": true,
Expand Down
1 change: 0 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* jshint node:true */
/* jshint esversion: 6 */
/* eslint-env es6 */
/* globals Set */
var webpackConfig = require( './webpack.config' );
Expand Down
1 change: 0 additions & 1 deletion tools/webpack/codemirror-banner.js
Original file line number Diff line number Diff line change
@@ -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' );
Expand Down
1 change: 0 additions & 1 deletion tools/webpack/codemirror.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* jshint node:true */
/* jshint esversion: 6 */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why it add here 6 while the esversion is 10?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect that was just copied from the main Gruntfile in r61539, but was never necessary.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

const path = require( 'path' );
const webpack = require( 'webpack' );
const TerserPlugin = require( 'terser-webpack-plugin' );
Expand Down
Loading