diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-01-10 16:35:09 -0600 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-01-10 16:35:09 -0600 |
commit | 8b4ca248e631b050ed3162643c30c1b1d0d9d8ee (patch) | |
tree | b5714edfbb95c19ba0118111a716e234404cb1ea /app/assets/javascripts/shortcuts.js | |
parent | 57652bf58482dd1b4ac26b5f804d3d4ece6591d8 (diff) | |
download | gitlab-ce-eslint-no-plusplus.tar.gz |
resolve all no-plusplus eslint violationseslint-no-plusplus
Diffstat (limited to 'app/assets/javascripts/shortcuts.js')
-rw-r--r-- | app/assets/javascripts/shortcuts.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/shortcuts.js b/app/assets/javascripts/shortcuts.js index 5ea00f408f4..b9a90faf7ff 100644 --- a/app/assets/javascripts/shortcuts.js +++ b/app/assets/javascripts/shortcuts.js @@ -1,4 +1,4 @@ -/* eslint-disable func-names, space-before-function-paren, no-var, space-before-blocks, prefer-rest-params, wrap-iife, quotes, prefer-arrow-callback, consistent-return, object-shorthand, no-unused-vars, one-var, one-var-declaration-per-line, no-plusplus, no-else-return, comma-dangle, padded-blocks, max-len */ +/* eslint-disable func-names, space-before-function-paren, no-var, space-before-blocks, prefer-rest-params, wrap-iife, quotes, prefer-arrow-callback, consistent-return, object-shorthand, no-unused-vars, one-var, one-var-declaration-per-line, no-else-return, comma-dangle, padded-blocks, max-len */ /* global Mousetrap */ /* global Turbolinks */ /* global findFileURL */ @@ -51,7 +51,7 @@ var i, l, len, results; if (location && location.length > 0) { results = []; - for (i = 0, len = location.length; i < len; i++) { + for (i = 0, len = location.length; i < len; i += 1) { l = location[i]; results.push($(l).show()); } |