From 65acc86e8580e88f7a6611eb4b8fa5d7291f7a3f Mon Sep 17 00:00:00 2001 From: Daniel Gasienica Date: Tue, 13 Feb 2018 08:30:42 -0500 Subject: [PATCH] Add ES2015+ files to JSHint ignored list --- Gruntfile.js | 1 + js/modules/auto_orient_image.js | 2 -- js/modules/types/attachment.js | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index e286687dcd..15963f1013 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -103,6 +103,7 @@ module.exports = function(grunt) { '!js/Mp3LameEncoder.min.js', '!js/libsignal-protocol-worker.js', '!js/components.js', + '!js/modules/**/*.js', '!js/signal_protocol_store.js', '_locales/**/*' ], diff --git a/js/modules/auto_orient_image.js b/js/modules/auto_orient_image.js index 82c7be62de..86b8784518 100644 --- a/js/modules/auto_orient_image.js +++ b/js/modules/auto_orient_image.js @@ -1,5 +1,3 @@ -/* jshint ignore:start */ - const loadImage = require('blueimp-load-image'); // File | Blob | URLString -> LoadImageOptions -> Promise diff --git a/js/modules/types/attachment.js b/js/modules/types/attachment.js index 4637e17a66..9a58119130 100644 --- a/js/modules/types/attachment.js +++ b/js/modules/types/attachment.js @@ -1,4 +1,3 @@ -/* jshint ignore:start */ const dataURLToBlob = require('blueimp-canvas-to-blob');