diff --git a/ts/backbone/Conversation.ts b/ts/backbone/Conversation.ts index bd868d9e04..e64b017a02 100644 --- a/ts/backbone/Conversation.ts +++ b/ts/backbone/Conversation.ts @@ -1,6 +1,3 @@ -/** - * @prettier - */ import is from '@sindresorhus/is'; import { Collection as BackboneCollection } from '../types/backbone/Collection'; diff --git a/ts/backbone/index.ts b/ts/backbone/index.ts index 3c7864bb74..fc5fabadc1 100644 --- a/ts/backbone/index.ts +++ b/ts/backbone/index.ts @@ -1,6 +1,3 @@ -/** - * @prettier - */ import * as Conversation from './Conversation'; import * as Views from './views'; diff --git a/ts/backbone/views/Lightbox.ts b/ts/backbone/views/Lightbox.ts index 57226e7471..b245e5253d 100644 --- a/ts/backbone/views/Lightbox.ts +++ b/ts/backbone/views/Lightbox.ts @@ -1,6 +1,3 @@ -/** - * @prettier - */ export const show = (element: HTMLElement): void => { const container: HTMLDivElement | null = document.querySelector( '.lightbox-container' diff --git a/ts/backbone/views/index.ts b/ts/backbone/views/index.ts index 397f19d786..e3cf499175 100644 --- a/ts/backbone/views/index.ts +++ b/ts/backbone/views/index.ts @@ -1,6 +1,3 @@ -/** - * @prettier - */ import * as Lightbox from './Lightbox'; export { Lightbox }; diff --git a/ts/components/Lightbox.tsx b/ts/components/Lightbox.tsx index 896a79a23e..af91914888 100644 --- a/ts/components/Lightbox.tsx +++ b/ts/components/Lightbox.tsx @@ -1,6 +1,3 @@ -/** - * @prettier - */ import React from 'react'; import classNames from 'classnames'; diff --git a/ts/components/conversation/media-gallery/AttachmentSection.tsx b/ts/components/conversation/media-gallery/AttachmentSection.tsx index 1f0ee74435..e1fc384f25 100644 --- a/ts/components/conversation/media-gallery/AttachmentSection.tsx +++ b/ts/components/conversation/media-gallery/AttachmentSection.tsx @@ -1,6 +1,3 @@ -/** - * @prettier - */ import React from 'react'; import { AttachmentType } from './types/AttachmentType'; diff --git a/ts/components/conversation/media-gallery/DocumentListItem.tsx b/ts/components/conversation/media-gallery/DocumentListItem.tsx index b9fb845997..b5d6394038 100644 --- a/ts/components/conversation/media-gallery/DocumentListItem.tsx +++ b/ts/components/conversation/media-gallery/DocumentListItem.tsx @@ -1,6 +1,3 @@ -/** - * @prettier - */ import React from 'react'; import moment from 'moment'; diff --git a/ts/components/conversation/media-gallery/LoadingIndicator.tsx b/ts/components/conversation/media-gallery/LoadingIndicator.tsx index e2bfd4a856..349560a8ec 100644 --- a/ts/components/conversation/media-gallery/LoadingIndicator.tsx +++ b/ts/components/conversation/media-gallery/LoadingIndicator.tsx @@ -1,6 +1,3 @@ -/** - * @prettier - */ import React from 'react'; export const LoadingIndicator = () => { diff --git a/ts/components/conversation/media-gallery/MediaGallery.tsx b/ts/components/conversation/media-gallery/MediaGallery.tsx index 8f06c70351..c28a7db883 100644 --- a/ts/components/conversation/media-gallery/MediaGallery.tsx +++ b/ts/components/conversation/media-gallery/MediaGallery.tsx @@ -1,6 +1,3 @@ -/** - * @prettier - */ import React from 'react'; import moment from 'moment'; diff --git a/ts/components/conversation/media-gallery/MediaGridItem.tsx b/ts/components/conversation/media-gallery/MediaGridItem.tsx index 1a69314b4f..a2d5118b7c 100644 --- a/ts/components/conversation/media-gallery/MediaGridItem.tsx +++ b/ts/components/conversation/media-gallery/MediaGridItem.tsx @@ -1,6 +1,3 @@ -/** - * @prettier - */ import React from 'react'; import { Message } from './types/Message'; diff --git a/ts/components/conversation/media-gallery/groupMessagesByDate.ts b/ts/components/conversation/media-gallery/groupMessagesByDate.ts index 7b34d22501..2cf1c76dd4 100644 --- a/ts/components/conversation/media-gallery/groupMessagesByDate.ts +++ b/ts/components/conversation/media-gallery/groupMessagesByDate.ts @@ -1,6 +1,3 @@ -/** - * @prettier - */ import moment from 'moment'; import { compact, groupBy, sortBy } from 'lodash'; diff --git a/ts/components/conversation/media-gallery/types/Message.tsx b/ts/components/conversation/media-gallery/types/Message.tsx index 4b47504bd7..285c28e8e0 100644 --- a/ts/components/conversation/media-gallery/types/Message.tsx +++ b/ts/components/conversation/media-gallery/types/Message.tsx @@ -1,6 +1,3 @@ -/** - * @prettier - */ import is from '@sindresorhus/is'; import { partition, sortBy } from 'lodash'; diff --git a/ts/test/components/media-gallery/groupMessagesByDate.ts b/ts/test/components/media-gallery/groupMessagesByDate.ts index 85ed5e499e..84f9b6fb5c 100644 --- a/ts/test/components/media-gallery/groupMessagesByDate.ts +++ b/ts/test/components/media-gallery/groupMessagesByDate.ts @@ -1,6 +1,3 @@ -/** - * @prettier - */ import 'mocha'; import { assert } from 'chai'; diff --git a/ts/types/Attachment.ts b/ts/types/Attachment.ts index 3578f1b4e2..d37b2f3e34 100644 --- a/ts/types/Attachment.ts +++ b/ts/types/Attachment.ts @@ -1,6 +1,3 @@ -/** - * @prettier - */ import is from '@sindresorhus/is'; import moment from 'moment'; diff --git a/ts/types/Conversation.ts b/ts/types/Conversation.ts index 360b988f11..78d7814402 100644 --- a/ts/types/Conversation.ts +++ b/ts/types/Conversation.ts @@ -1,6 +1,3 @@ -/** - * @prettier - */ import is from '@sindresorhus/is'; import { Message } from './Message'; diff --git a/ts/types/IndexedDB.ts b/ts/types/IndexedDB.ts index fa89f986ae..687606de3b 100644 --- a/ts/types/IndexedDB.ts +++ b/ts/types/IndexedDB.ts @@ -1,7 +1,3 @@ -/** - * @prettier - */ - // IndexedDB doesn’t support boolean indexes so we map `true` to 1 and `false` // to `0`, i.e. `IndexableBoolean`. // N.B. Using `undefined` allows excluding an entry from an index. Useful diff --git a/ts/types/MIME.ts b/ts/types/MIME.ts index 7439a8a66c..620df41c96 100644 --- a/ts/types/MIME.ts +++ b/ts/types/MIME.ts @@ -1,6 +1,3 @@ -/** - * @prettier - */ export type MIMEType = string & { _mimeTypeBrand: any }; export const isJPEG = (value: MIMEType): boolean => value === 'image/jpeg'; diff --git a/ts/types/MapAsync.ts b/ts/types/MapAsync.ts index 538adfe9d3..92c357d59e 100644 --- a/ts/types/MapAsync.ts +++ b/ts/types/MapAsync.ts @@ -1,4 +1 @@ -/** - * @prettier - */ export type MapAsync = (value: T) => Promise; diff --git a/ts/types/Message.ts b/ts/types/Message.ts index 441bd3b13b..91c4e98b15 100644 --- a/ts/types/Message.ts +++ b/ts/types/Message.ts @@ -1,6 +1,3 @@ -/** - * @prettier - */ import { Attachment } from './Attachment'; import { IndexableBoolean, IndexablePresence } from './IndexedDB'; diff --git a/ts/types/backbone/Collection.ts b/ts/types/backbone/Collection.ts index c67b2051f6..078538c427 100644 --- a/ts/types/backbone/Collection.ts +++ b/ts/types/backbone/Collection.ts @@ -1,6 +1,3 @@ -/** - * @prettier - */ import { Model } from './Model'; export interface Collection { diff --git a/ts/types/backbone/Model.ts b/ts/types/backbone/Model.ts index b1578608a2..00f9e20c95 100644 --- a/ts/types/backbone/Model.ts +++ b/ts/types/backbone/Model.ts @@ -1,7 +1,3 @@ -/** - * @prettier - */ - export interface Model { toJSON(): T; } diff --git a/ts/types/message/initializeAttachmentMetadata.ts b/ts/types/message/initializeAttachmentMetadata.ts index 55d172ae47..317dacb482 100644 --- a/ts/types/message/initializeAttachmentMetadata.ts +++ b/ts/types/message/initializeAttachmentMetadata.ts @@ -1,6 +1,3 @@ -/** - * @prettier - */ import { partition } from 'lodash'; import * as Attachment from '../Attachment'; diff --git a/ts/util/GoogleChrome.ts b/ts/util/GoogleChrome.ts index 0b652b297a..0bbd1960b1 100644 --- a/ts/util/GoogleChrome.ts +++ b/ts/util/GoogleChrome.ts @@ -1,6 +1,3 @@ -/** - * @prettier - */ import * as MIME from '../types/MIME'; interface MIMETypeSupportMap { diff --git a/ts/util/arrayBufferToObjectURL.ts b/ts/util/arrayBufferToObjectURL.ts index f9c58c8d24..8375faa3be 100644 --- a/ts/util/arrayBufferToObjectURL.ts +++ b/ts/util/arrayBufferToObjectURL.ts @@ -1,6 +1,3 @@ -/** - * @prettier - */ import is from '@sindresorhus/is'; import { MIMEType } from '../types/MIME'; diff --git a/ts/util/index.ts b/ts/util/index.ts index 03e5af3305..f20bceff0f 100644 --- a/ts/util/index.ts +++ b/ts/util/index.ts @@ -1,6 +1,3 @@ -/** - * @prettier - */ import * as GoogleChrome from './GoogleChrome'; import { arrayBufferToObjectURL } from './arrayBufferToObjectURL'; import { missingCaseError } from './missingCaseError'; diff --git a/ts/util/missingCaseError.ts b/ts/util/missingCaseError.ts index 9efeda3584..f5f9ae0476 100644 --- a/ts/util/missingCaseError.ts +++ b/ts/util/missingCaseError.ts @@ -1,6 +1,3 @@ -/** - * @prettier - */ // `missingCaseError` is useful for compile-time checking that all `case`s in // a `switch` statement have been handled, e.g. //