diff options
author | gfyoung <gfyoung17@gmail.com> | 2018-06-13 23:18:05 -0700 |
---|---|---|
committer | gfyoung <gfyoung17@gmail.com> | 2018-06-15 13:08:47 -0700 |
commit | dbc74800e22c9ea417d30fd4c357d6154cc71870 (patch) | |
tree | f704225b4ce0d922047b5eb83a258ca2e69e3a7a /app/assets/javascripts/profile | |
parent | 102db0aaf162ec122d79e1aaff0f5ac3c86af373 (diff) | |
download | gitlab-ce-dbc74800e22c9ea417d30fd4c357d6154cc71870.tar.gz |
Enable no-multi-assignment in JS files
Partially addresses #47006.
Diffstat (limited to 'app/assets/javascripts/profile')
-rw-r--r-- | app/assets/javascripts/profile/gl_crop.js | 2 |
1 files changed, 2 insertions, 0 deletions
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)); |