Migrate conversations to ESLint

This commit is contained in:
Chris Svenningsen 2020-09-14 12:51:27 -07:00 committed by Josh Perez
parent b4f0f3c685
commit 372aa44e49
90 changed files with 1261 additions and 1165 deletions

View file

@ -3,12 +3,8 @@ import { storiesOf } from '@storybook/react';
import { boolean, number } from '@storybook/addon-knobs';
import { action } from '@storybook/addon-actions';
// @ts-ignore
import { setup as setupI18n } from '../../../js/modules/i18n';
// @ts-ignore
import enMessages from '../../../_locales/en/messages.json';
import { Props, Timeline } from './Timeline';
import { TimelineItem, TimelineItemType } from './TimelineItem';
import { LastSeenIndicator } from './LastSeenIndicator';
@ -19,7 +15,7 @@ const i18n = setupI18n('en', enMessages);
const story = storiesOf('Components/Conversation/Timeline', module);
// tslint:disable-next-line
// eslint-disable-next-line
const noop = () => {};
Object.assign(window, {
@ -207,6 +203,7 @@ const items: Record<string, TimelineItemType> = {
type: 'linkNotification',
data: null,
},
// eslint-disable-next-line @typescript-eslint/no-explicit-any
} as any;
const actions = () => ({