Commit 6985dfe7 authored by Mike Greiling's avatar Mike Greiling

fix eslint failures

parent ecd25831
......@@ -102,8 +102,7 @@ window.dateFormat = dateFormat;
};
w.gl.utils.updateTimeagoText = function(el) {
const timeago = gl.utils.getTimeago();
const formattedDate = timeago.format(el.getAttribute('datetime'), 'gl_en');
const formattedDate = gl.utils.getTimeago().format(el.getAttribute('datetime'), 'gl_en');
if (el.textContent !== formattedDate) {
el.textContent = formattedDate;
......
/* eslint-disable no-unused-expressions, no-prototype-builtins, no-new, no-shadow, max-len */
import 'vendor/jquery.endless-scroll.js';
import 'vendor/jquery.endless-scroll';
import '~/pager';
import '~/activities';
......
......@@ -11,7 +11,7 @@ import '~/boards/models/assignee';
import '~/boards/models/list';
import '~/boards/models/label';
import '~/boards/stores/boards_store';
const boardCard = require('~/boards/components/board_card').default;
import boardCard from '~/boards/components/board_card';
import './mock_data';
describe('Issue card', () => {
......
/* eslint-disable no-var, comma-dangle, object-shorthand */
import '~/merge_request_tabs';
import '~/commit/pipelines/pipelines_bundle.js';
import '~/commit/pipelines/pipelines_bundle';
import '~/breakpoints';
import '~/lib/utils/common_utils';
import '~/diff';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment