Remove `@prettier` pragmas

pull/1/head
Daniel Gasienica 7 years ago
parent 95321e5d3e
commit 87d374ea78

@ -1,6 +1,3 @@
/**
* @prettier
*/
import is from '@sindresorhus/is'; import is from '@sindresorhus/is';
import { Collection as BackboneCollection } from '../types/backbone/Collection'; import { Collection as BackboneCollection } from '../types/backbone/Collection';

@ -1,6 +1,3 @@
/**
* @prettier
*/
import * as Conversation from './Conversation'; import * as Conversation from './Conversation';
import * as Views from './views'; import * as Views from './views';

@ -1,6 +1,3 @@
/**
* @prettier
*/
export const show = (element: HTMLElement): void => { export const show = (element: HTMLElement): void => {
const container: HTMLDivElement | null = document.querySelector( const container: HTMLDivElement | null = document.querySelector(
'.lightbox-container' '.lightbox-container'

@ -1,6 +1,3 @@
/**
* @prettier
*/
import * as Lightbox from './Lightbox'; import * as Lightbox from './Lightbox';
export { Lightbox }; export { Lightbox };

@ -1,6 +1,3 @@
/**
* @prettier
*/
import React from 'react'; import React from 'react';
import classNames from 'classnames'; import classNames from 'classnames';

@ -1,6 +1,3 @@
/**
* @prettier
*/
import React from 'react'; import React from 'react';
import { AttachmentType } from './types/AttachmentType'; import { AttachmentType } from './types/AttachmentType';

@ -1,6 +1,3 @@
/**
* @prettier
*/
import React from 'react'; import React from 'react';
import moment from 'moment'; import moment from 'moment';

@ -1,6 +1,3 @@
/**
* @prettier
*/
import React from 'react'; import React from 'react';
export const LoadingIndicator = () => { export const LoadingIndicator = () => {

@ -1,6 +1,3 @@
/**
* @prettier
*/
import React from 'react'; import React from 'react';
import moment from 'moment'; import moment from 'moment';

@ -1,6 +1,3 @@
/**
* @prettier
*/
import React from 'react'; import React from 'react';
import { Message } from './types/Message'; import { Message } from './types/Message';

@ -1,6 +1,3 @@
/**
* @prettier
*/
import moment from 'moment'; import moment from 'moment';
import { compact, groupBy, sortBy } from 'lodash'; import { compact, groupBy, sortBy } from 'lodash';

@ -1,6 +1,3 @@
/**
* @prettier
*/
import is from '@sindresorhus/is'; import is from '@sindresorhus/is';
import { partition, sortBy } from 'lodash'; import { partition, sortBy } from 'lodash';

@ -1,6 +1,3 @@
/**
* @prettier
*/
import 'mocha'; import 'mocha';
import { assert } from 'chai'; import { assert } from 'chai';

@ -1,6 +1,3 @@
/**
* @prettier
*/
import is from '@sindresorhus/is'; import is from '@sindresorhus/is';
import moment from 'moment'; import moment from 'moment';

@ -1,6 +1,3 @@
/**
* @prettier
*/
import is from '@sindresorhus/is'; import is from '@sindresorhus/is';
import { Message } from './Message'; import { Message } from './Message';

@ -1,7 +1,3 @@
/**
* @prettier
*/
// IndexedDB doesnt support boolean indexes so we map `true` to 1 and `false` // IndexedDB doesnt support boolean indexes so we map `true` to 1 and `false`
// to `0`, i.e. `IndexableBoolean`. // to `0`, i.e. `IndexableBoolean`.
// N.B. Using `undefined` allows excluding an entry from an index. Useful // N.B. Using `undefined` allows excluding an entry from an index. Useful

@ -1,6 +1,3 @@
/**
* @prettier
*/
export type MIMEType = string & { _mimeTypeBrand: any }; export type MIMEType = string & { _mimeTypeBrand: any };
export const isJPEG = (value: MIMEType): boolean => value === 'image/jpeg'; export const isJPEG = (value: MIMEType): boolean => value === 'image/jpeg';

@ -1,4 +1 @@
/**
* @prettier
*/
export type MapAsync<T> = (value: T) => Promise<T>; export type MapAsync<T> = (value: T) => Promise<T>;

@ -1,6 +1,3 @@
/**
* @prettier
*/
import { Attachment } from './Attachment'; import { Attachment } from './Attachment';
import { IndexableBoolean, IndexablePresence } from './IndexedDB'; import { IndexableBoolean, IndexablePresence } from './IndexedDB';

@ -1,6 +1,3 @@
/**
* @prettier
*/
import { Model } from './Model'; import { Model } from './Model';
export interface Collection<T> { export interface Collection<T> {

@ -1,7 +1,3 @@
/**
* @prettier
*/
export interface Model<T> { export interface Model<T> {
toJSON(): T; toJSON(): T;
} }

@ -1,6 +1,3 @@
/**
* @prettier
*/
import { partition } from 'lodash'; import { partition } from 'lodash';
import * as Attachment from '../Attachment'; import * as Attachment from '../Attachment';

@ -1,6 +1,3 @@
/**
* @prettier
*/
import * as MIME from '../types/MIME'; import * as MIME from '../types/MIME';
interface MIMETypeSupportMap { interface MIMETypeSupportMap {

@ -1,6 +1,3 @@
/**
* @prettier
*/
import is from '@sindresorhus/is'; import is from '@sindresorhus/is';
import { MIMEType } from '../types/MIME'; import { MIMEType } from '../types/MIME';

@ -1,6 +1,3 @@
/**
* @prettier
*/
import * as GoogleChrome from './GoogleChrome'; import * as GoogleChrome from './GoogleChrome';
import { arrayBufferToObjectURL } from './arrayBufferToObjectURL'; import { arrayBufferToObjectURL } from './arrayBufferToObjectURL';
import { missingCaseError } from './missingCaseError'; import { missingCaseError } from './missingCaseError';

@ -1,6 +1,3 @@
/**
* @prettier
*/
// `missingCaseError` is useful for compile-time checking that all `case`s in // `missingCaseError` is useful for compile-time checking that all `case`s in
// a `switch` statement have been handled, e.g. // a `switch` statement have been handled, e.g.
// //

Loading…
Cancel
Save