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,14 +1,14 @@
import {bindActionCreators} from 'redux';
import {addTag, removeTag} from 'plugin-api/alpha/client/actions';
import {commentBoxTagsSelector} from 'plugin-api/alpha/client/selectors';
import {connect} from 'plugin-api/beta/client/hocs';
import { bindActionCreators } from 'redux';
import { addTag, removeTag } from 'plugin-api/alpha/client/actions';
import { commentBoxTagsSelector } from 'plugin-api/alpha/client/selectors';
import { connect } from 'plugin-api/beta/client/hocs';
import OffTopicCheckbox from '../components/OffTopicCheckbox';
const mapStateToProps = (state) => ({
tags: commentBoxTagsSelector(state)
const mapStateToProps = state => ({
tags: commentBoxTagsSelector(state),
});
const mapDispatchToProps = (dispatch) =>
bindActionCreators({addTag, removeTag}, dispatch);
const mapDispatchToProps = dispatch =>
bindActionCreators({ addTag, removeTag }, dispatch);
export default connect(mapStateToProps, mapDispatchToProps)(OffTopicCheckbox);
@@ -1,24 +1,24 @@
import {connect} from 'plugin-api/beta/client/hocs';
import {bindActionCreators} from 'redux';
import {toggleCheckbox} from '../actions';
import {commentClassNamesSelector} from 'plugin-api/alpha/client/selectors';
import { connect } from 'plugin-api/beta/client/hocs';
import { bindActionCreators } from 'redux';
import { toggleCheckbox } from '../actions';
import { commentClassNamesSelector } from 'plugin-api/alpha/client/selectors';
import OffTopicFilter from '../components/OffTopicFilter';
import {
addCommentClassName,
removeCommentClassName
removeCommentClassName,
} from 'plugin-api/alpha/client/actions';
const mapStateToProps = (state) => ({
const mapStateToProps = state => ({
commentClassNames: commentClassNamesSelector(state),
checked: state.talkPluginOfftopic.checked
checked: state.talkPluginOfftopic.checked,
});
const mapDispatchToProps = (dispatch) =>
const mapDispatchToProps = dispatch =>
bindActionCreators(
{
toggleCheckbox,
addCommentClassName,
removeCommentClassName
removeCommentClassName,
},
dispatch
);
@@ -1,6 +1,6 @@
import {gql} from 'react-apollo';
import { gql } from 'react-apollo';
import OffTopicTag from '../components/OffTopicTag';
import {withFragments} from 'plugin-api/beta/client/hocs';
import { withFragments } from 'plugin-api/beta/client/hocs';
export default withFragments({
comment: gql`
@@ -11,5 +11,5 @@ export default withFragments({
}
}
}
`
`,
})(OffTopicTag);