satisfy eslint no-param-reassign rule
This commit is contained in:
parent
8732ac4084
commit
ed5f22cb93
2 changed files with 10 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
|||
/* eslint-disable class-methods-use-this, no-param-reassign */
|
||||
/* eslint-disable class-methods-use-this */
|
||||
|
||||
((global) => {
|
||||
(() => {
|
||||
const UNFOLD_COUNT = 20;
|
||||
|
||||
class Diff {
|
||||
|
@ -104,5 +104,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
global.Diff = Diff;
|
||||
})(window.gl || (window.gl = {}));
|
||||
window.gl = window.gl || {};
|
||||
window.gl.Diff = Diff;
|
||||
})();
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* eslint-disable no-new, no-param-reassign, class-methods-use-this */
|
||||
/* eslint-disable no-new, class-methods-use-this */
|
||||
/* global Breakpoints */
|
||||
/* global Cookies */
|
||||
/* global DiffNotesApp */
|
||||
|
@ -53,7 +53,7 @@
|
|||
//
|
||||
/* eslint-enable max-len */
|
||||
|
||||
((global) => {
|
||||
(() => {
|
||||
// Store the `location` object, allowing for easier stubbing in tests
|
||||
let location = window.location;
|
||||
|
||||
|
@ -385,5 +385,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
global.MergeRequestTabs = MergeRequestTabs;
|
||||
})(window.gl || (window.gl = {}));
|
||||
window.gl = window.gl || {};
|
||||
window.gl.MergeRequestTabs = MergeRequestTabs;
|
||||
})();
|
||||
|
|
Loading…
Reference in a new issue