replaced eslint:recommended with prettier

This commit is contained in:
Wyatt Johnson
2018-01-11 20:00:34 -07:00
parent d56c19016a
commit 0abc2ca243
649 changed files with 16235 additions and 13008 deletions
@@ -1,7 +1,7 @@
import {compose, gql} from 'react-apollo';
import {withFragments, excludeIf} from 'plugin-api/beta/client/hocs';
import { compose, gql } from 'react-apollo';
import { withFragments, excludeIf } from 'plugin-api/beta/client/hocs';
import ToxicLabel from '../components/ToxicLabel';
import {isToxic} from '../utils';
import { isToxic } from '../utils';
const enhance = compose(
withFragments({
@@ -13,9 +13,10 @@ const enhance = compose(
reason
}
}
}`,
}
`,
}),
excludeIf(({comment: {actions}}) => !isToxic(actions)),
excludeIf(({ comment: { actions } }) => !isToxic(actions))
);
export default enhance(ToxicLabel);