From dbc74800e22c9ea417d30fd4c357d6154cc71870 Mon Sep 17 00:00:00 2001 From: gfyoung Date: Wed, 13 Jun 2018 23:18:05 -0700 Subject: Enable no-multi-assignment in JS files Partially addresses #47006. --- app/assets/javascripts/profile/gl_crop.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/assets/javascripts/profile') diff --git a/app/assets/javascripts/profile/gl_crop.js b/app/assets/javascripts/profile/gl_crop.js index 8f93156cdd1..ba120c4bbdf 100644 --- a/app/assets/javascripts/profile/gl_crop.js +++ b/app/assets/javascripts/profile/gl_crop.js @@ -139,6 +139,8 @@ import _ from 'underscore'; var array, binary, i, k, len, v; binary = atob(dataURL.split(',')[1]); array = []; + + // eslint-disable-next-line no-multi-assign for (k = i = 0, len = binary.length; i < len; k = (i += 1)) { v = binary[k]; array.push(binary.charCodeAt(k)); -- cgit v1.2.3