Skip to content
Snippets Groups Projects
Unverified Commit 0e644116 authored by Lukas Eipert's avatar Lukas Eipert
Browse files

remove all unused eslint-disable rules

parent a0a05a05
No related branches found
No related tags found
1 merge request!10495Merge Requests - Assignee
Showing
with 18 additions and 25 deletions
/* eslint-disable no-param-reassign, class-methods-use-this */
/* eslint-disable class-methods-use-this */
 
import $ from 'jquery';
import Cookies from 'js-cookie';
Loading
Loading
/* eslint-disable no-param-reassign, prefer-template, no-var, no-void, consistent-return */
/* eslint-disable no-param-reassign, prefer-template, no-void, consistent-return */
 
import AccessorUtilities from './lib/utils/accessor';
 
Loading
Loading
/* eslint-disable class-methods-use-this, object-shorthand, no-unused-vars, no-use-before-define, no-new, max-len, no-restricted-syntax, guard-for-in, no-continue */
/* eslint-disable object-shorthand, no-unused-vars, no-use-before-define, max-len, no-restricted-syntax, guard-for-in, no-continue */
 
import $ from 'jquery';
import _ from 'underscore';
Loading
Loading
/* eslint-disable no-new */
import Vue from 'vue';
import pdfLab from '../../pdf/index.vue';
 
Loading
Loading
/* eslint-disable func-names, space-before-function-paren, prefer-arrow-callback, no-var, quotes, vars-on-top, no-unused-vars, no-new, max-len */
/* global EditBlob */
/* eslint-disable no-new */
 
import $ from 'jquery';
import NewCommitForm from '../new_commit_form';
Loading
Loading
/* eslint-disable comma-dangle, space-before-function-paren, one-var */
/* eslint-disable comma-dangle */
 
import Sortable from 'sortablejs';
import Vue from 'vue';
Loading
Loading
/* eslint-disable comma-dangle, space-before-function-paren, no-alert */
/* eslint-disable comma-dangle, no-alert */
 
import $ from 'jquery';
import Vue from 'vue';
Loading
Loading
/* eslint-disable comma-dangle, space-before-function-paren, no-new */
/* eslint-disable comma-dangle, no-new */
 
import $ from 'jquery';
import Vue from 'vue';
Loading
Loading
/* eslint-disable func-names, no-new, space-before-function-paren, one-var, promise/catch-or-return, max-len */
/* eslint-disable func-names, no-new, promise/catch-or-return */
 
import $ from 'jquery';
import axios from '~/lib/utils/axios_utils';
Loading
Loading
/* eslint-disable class-methods-use-this */
import FilteredSearchContainer from '../filtered_search/container';
import FilteredSearchManager from '../filtered_search/filtered_search_manager';
 
Loading
Loading
/* eslint-disable one-var, quote-props, comma-dangle, space-before-function-paren */
/* eslint-disable quote-props, comma-dangle */
 
import $ from 'jquery';
import _ from 'underscore';
Loading
Loading
/* eslint-disable no-unused-vars, no-mixed-operators, comma-dangle */
/* global DocumentTouch */
 
import $ from 'jquery';
Loading
Loading
/* eslint-disable no-unused-vars, space-before-function-paren, arrow-body-style, arrow-parens, comma-dangle, max-len */
/* eslint-disable no-unused-vars, comma-dangle */
/* global ListLabel */
/* global ListMilestone */
/* global ListAssignee */
Loading
Loading
/* eslint-disable space-before-function-paren, no-underscore-dangle, class-methods-use-this, consistent-return, no-shadow, no-param-reassign, max-len, no-unused-vars */
/* eslint-disable no-underscore-dangle, class-methods-use-this, consistent-return, no-shadow, no-param-reassign, max-len */
/* global ListIssue */
 
import ListLabel from '~/vue_shared/models/label';
Loading
Loading
/* eslint-disable no-unused-vars */
class ListMilestone {
constructor(obj) {
this.id = obj.id;
Loading
Loading
/* eslint-disable comma-dangle, space-before-function-paren, one-var, no-shadow, dot-notation, max-len */
/* eslint-disable comma-dangle, no-shadow */
/* global List */
 
import $ from 'jquery';
Loading
Loading
/* eslint-disable func-names, prefer-arrow-callback, no-return-assign */
/* eslint-disable func-names, prefer-arrow-callback */
 
import $ from 'jquery';
import { visitUrl } from './lib/utils/url_utility';
Loading
Loading
/* 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';
 
Loading
Loading
@@ -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) {
Loading
Loading
/* eslint-disable func-names, space-before-function-paren, one-var, no-var, one-var-declaration-per-line, object-shorthand, comma-dangle, prefer-arrow-callback, no-else-return, newline-per-chained-call, wrap-iife, max-len */
/* eslint-disable func-names, one-var, no-var, one-var-declaration-per-line, object-shorthand, no-else-return, max-len */
 
import $ from 'jquery';
import { __ } from './locale';
Loading
Loading
/* eslint-disable comma-dangle, object-shorthand, func-names, no-else-return, guard-for-in, no-restricted-syntax, one-var, space-before-function-paren, no-lonely-if, no-continue, brace-style, max-len, quotes */
/* global DiscussionMixins */
/* eslint-disable comma-dangle, object-shorthand, func-names, no-else-return, guard-for-in, no-restricted-syntax, no-lonely-if, no-continue, brace-style, max-len, quotes */
/* global CommentsStore */
 
import $ from 'jquery';
import Vue from 'vue';
 
import '../mixins/discussion';
import DiscussionMixins from '../mixins/discussion';
 
const JumpToDiscussion = Vue.extend({
mixins: [DiscussionMixins],
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment