Remove @prettier
pragmas
This commit is contained in:
parent
95321e5d3e
commit
87d374ea78
26 changed files with 0 additions and 80 deletions
|
@ -1,6 +1,3 @@
|
|||
/**
|
||||
* @prettier
|
||||
*/
|
||||
import is from '@sindresorhus/is';
|
||||
|
||||
import { Collection as BackboneCollection } from '../types/backbone/Collection';
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
/**
|
||||
* @prettier
|
||||
*/
|
||||
import * as Conversation from './Conversation';
|
||||
import * as Views from './views';
|
||||
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
/**
|
||||
* @prettier
|
||||
*/
|
||||
export const show = (element: HTMLElement): void => {
|
||||
const container: HTMLDivElement | null = document.querySelector(
|
||||
'.lightbox-container'
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
/**
|
||||
* @prettier
|
||||
*/
|
||||
import * as Lightbox from './Lightbox';
|
||||
|
||||
export { Lightbox };
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
/**
|
||||
* @prettier
|
||||
*/
|
||||
import React from 'react';
|
||||
|
||||
import classNames from 'classnames';
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
/**
|
||||
* @prettier
|
||||
*/
|
||||
import React from 'react';
|
||||
|
||||
import { AttachmentType } from './types/AttachmentType';
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
/**
|
||||
* @prettier
|
||||
*/
|
||||
import React from 'react';
|
||||
|
||||
import moment from 'moment';
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
/**
|
||||
* @prettier
|
||||
*/
|
||||
import React from 'react';
|
||||
|
||||
export const LoadingIndicator = () => {
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
/**
|
||||
* @prettier
|
||||
*/
|
||||
import React from 'react';
|
||||
|
||||
import moment from 'moment';
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
/**
|
||||
* @prettier
|
||||
*/
|
||||
import React from 'react';
|
||||
|
||||
import { Message } from './types/Message';
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
/**
|
||||
* @prettier
|
||||
*/
|
||||
import moment from 'moment';
|
||||
import { compact, groupBy, sortBy } from 'lodash';
|
||||
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
/**
|
||||
* @prettier
|
||||
*/
|
||||
import is from '@sindresorhus/is';
|
||||
import { partition, sortBy } from 'lodash';
|
||||
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
/**
|
||||
* @prettier
|
||||
*/
|
||||
import 'mocha';
|
||||
|
||||
import { assert } from 'chai';
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
/**
|
||||
* @prettier
|
||||
*/
|
||||
import is from '@sindresorhus/is';
|
||||
import moment from 'moment';
|
||||
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
/**
|
||||
* @prettier
|
||||
*/
|
||||
import is from '@sindresorhus/is';
|
||||
import { Message } from './Message';
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
/**
|
||||
* @prettier
|
||||
*/
|
||||
export type MIMEType = string & { _mimeTypeBrand: any };
|
||||
|
||||
export const isJPEG = (value: MIMEType): boolean => value === 'image/jpeg';
|
||||
|
|
|
@ -1,4 +1 @@
|
|||
/**
|
||||
* @prettier
|
||||
*/
|
||||
export type MapAsync<T> = (value: T) => Promise<T>;
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
/**
|
||||
* @prettier
|
||||
*/
|
||||
import { Attachment } from './Attachment';
|
||||
import { IndexableBoolean, IndexablePresence } from './IndexedDB';
|
||||
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
/**
|
||||
* @prettier
|
||||
*/
|
||||
import { Model } from './Model';
|
||||
|
||||
export interface Collection<T> {
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
/**
|
||||
* @prettier
|
||||
*/
|
||||
|
||||
export interface Model<T> {
|
||||
toJSON(): T;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
/**
|
||||
* @prettier
|
||||
*/
|
||||
import { partition } from 'lodash';
|
||||
|
||||
import * as Attachment from '../Attachment';
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
/**
|
||||
* @prettier
|
||||
*/
|
||||
import * as MIME from '../types/MIME';
|
||||
|
||||
interface MIMETypeSupportMap {
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
/**
|
||||
* @prettier
|
||||
*/
|
||||
import is from '@sindresorhus/is';
|
||||
|
||||
import { MIMEType } from '../types/MIME';
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
/**
|
||||
* @prettier
|
||||
*/
|
||||
import * as GoogleChrome from './GoogleChrome';
|
||||
import { arrayBufferToObjectURL } from './arrayBufferToObjectURL';
|
||||
import { missingCaseError } from './missingCaseError';
|
||||
|
|
|
@ -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.
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue