diff options
author | Lukas Eipert <leipert@gitlab.com> | 2018-06-16 15:20:30 +0200 |
---|---|---|
committer | Lukas Eipert <leipert@gitlab.com> | 2018-06-20 14:28:28 +0200 |
commit | 0e6441164f74a76b4b3decd3c0b0d8d31e15c815 (patch) | |
tree | dfd2fcf27f0f0a1016dad23dcc796cb3440f9cc5 /app/assets/javascripts/commit | |
parent | a0a05a05f7d4353753852374f0a16a18c62ae843 (diff) | |
download | gitlab-ce-0e6441164f74a76b4b3decd3c0b0d8d31e15c815.tar.gz |
remove all unused eslint-disable rules
Diffstat (limited to 'app/assets/javascripts/commit')
-rw-r--r-- | app/assets/javascripts/commit/image_file.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/commit/image_file.js b/app/assets/javascripts/commit/image_file.js index 7f3d04655a7..2d180e9903a 100644 --- a/app/assets/javascripts/commit/image_file.js +++ b/app/assets/javascripts/commit/image_file.js @@ -1,4 +1,4 @@ -/* eslint-disable func-names, space-before-function-paren, wrap-iife, no-var, no-use-before-define, prefer-arrow-callback, no-else-return, consistent-return, prefer-template, quotes, one-var, one-var-declaration-per-line, no-unused-vars, no-return-assign, comma-dangle, quote-props, no-unused-expressions, no-sequences, object-shorthand, max-len */ +/* eslint-disable func-names, wrap-iife, no-var, prefer-arrow-callback, no-else-return, consistent-return, prefer-template, quotes, one-var, one-var-declaration-per-line, no-unused-vars, no-return-assign, comma-dangle, quote-props, no-unused-expressions, no-sequences, max-len */ import $ from 'jquery'; @@ -95,7 +95,7 @@ export default class ImageFile { }); return [maxWidth, maxHeight]; } - // eslint-disable-next-line + views = { 'two-up': function() { return $('.two-up.view .wrap', this.file).each((function(_this) { |