diff --git a/apps/full-site-editing/full-site-editing-plugin/starter-page-templates/page-template-modal/components/template-selector-control.js b/apps/full-site-editing/full-site-editing-plugin/starter-page-templates/page-template-modal/components/template-selector-control.js index 1b280b8fa2ae0..d54ad34e5582a 100644 --- a/apps/full-site-editing/full-site-editing-plugin/starter-page-templates/page-template-modal/components/template-selector-control.js +++ b/apps/full-site-editing/full-site-editing-plugin/starter-page-templates/page-template-modal/components/template-selector-control.js @@ -77,7 +77,4 @@ export const TemplateSelectorControl = ( { ); }; -export default compose( - memo, - withInstanceId -)( TemplateSelectorControl ); +export default compose( memo, withInstanceId )( TemplateSelectorControl ); diff --git a/apps/notifications/src/panel/templates/button-back.jsx b/apps/notifications/src/panel/templates/button-back.jsx index e090c0be23383..201fd11e2e181 100644 --- a/apps/notifications/src/panel/templates/button-back.jsx +++ b/apps/notifications/src/panel/templates/button-back.jsx @@ -46,7 +46,4 @@ const mapDispatchToProps = { unselectNote: actions.ui.unselectNote, }; -export default connect( - null, - mapDispatchToProps -)( localize( BackButton ) ); +export default connect( null, mapDispatchToProps )( localize( BackButton ) ); diff --git a/apps/notifications/src/panel/templates/button-edit.jsx b/apps/notifications/src/panel/templates/button-edit.jsx index 083c613638cb6..5dddf4b9f79f1 100644 --- a/apps/notifications/src/panel/templates/button-edit.jsx +++ b/apps/notifications/src/panel/templates/button-edit.jsx @@ -37,7 +37,4 @@ EditButton.propTypes = { translate: PropTypes.func.isRequired, }; -export default connect( - null, - { editComment } -)( localize( EditButton ) ); +export default connect( null, { editComment } )( localize( EditButton ) ); diff --git a/apps/notifications/src/panel/templates/comment-reply-input.jsx b/apps/notifications/src/panel/templates/comment-reply-input.jsx index 8602067792e82..ee2e2306113ac 100644 --- a/apps/notifications/src/panel/templates/comment-reply-input.jsx +++ b/apps/notifications/src/panel/templates/comment-reply-input.jsx @@ -341,9 +341,6 @@ const mapDispatchToProps = { unselectNote: actions.ui.unselectNote, }; -export default connect( - mapStateToProps, - mapDispatchToProps, - null, - { pure: false } -)( localize( CommentReplyInput ) ); +export default connect( mapStateToProps, mapDispatchToProps, null, { pure: false } )( + localize( CommentReplyInput ) +); diff --git a/apps/notifications/src/panel/templates/index.jsx b/apps/notifications/src/panel/templates/index.jsx index a1d3749f5f4ce..db01d3035a55f 100644 --- a/apps/notifications/src/panel/templates/index.jsx +++ b/apps/notifications/src/panel/templates/index.jsx @@ -537,7 +537,4 @@ const mapDispatchToProps = { unselectNote: actions.ui.unselectNote, }; -export default connect( - mapStateToProps, - mapDispatchToProps -)( Layout ); +export default connect( mapStateToProps, mapDispatchToProps )( Layout ); diff --git a/apps/notifications/src/panel/templates/list-header.jsx b/apps/notifications/src/panel/templates/list-header.jsx index e916e7b775f7d..68e2355c13077 100644 --- a/apps/notifications/src/panel/templates/list-header.jsx +++ b/apps/notifications/src/panel/templates/list-header.jsx @@ -24,7 +24,4 @@ const mapDispatchToProps = { viewSettings: actions.ui.viewSettings, }; -export default connect( - null, - mapDispatchToProps -)( ListHeader ); +export default connect( null, mapDispatchToProps )( ListHeader ); diff --git a/apps/notifications/src/panel/templates/note-list.jsx b/apps/notifications/src/panel/templates/note-list.jsx index e59bf9d047b79..cb47a92e5aa24 100644 --- a/apps/notifications/src/panel/templates/note-list.jsx +++ b/apps/notifications/src/panel/templates/note-list.jsx @@ -372,9 +372,6 @@ const mapDispatchToProps = { selectNote: actions.ui.selectNote, }; -export default connect( - mapStateToProps, - mapDispatchToProps, - null, - { forwardRef: true } -)( localize( NoteList ) ); +export default connect( mapStateToProps, mapDispatchToProps, null, { forwardRef: true } )( + localize( NoteList ) +); diff --git a/apps/notifications/src/panel/templates/note.jsx b/apps/notifications/src/panel/templates/note.jsx index 494d22770ea08..290a06723b2d3 100644 --- a/apps/notifications/src/panel/templates/note.jsx +++ b/apps/notifications/src/panel/templates/note.jsx @@ -75,9 +75,4 @@ const mapStateToProps = ( state, { note } ) => ( { isRead: getIsNoteRead( state, note ), } ); -export default connect( - mapStateToProps, - null, - null, - { forwardRef: true } -)( Note ); +export default connect( mapStateToProps, null, null, { forwardRef: true } )( Note ); diff --git a/apps/notifications/src/panel/templates/summary-in-list.jsx b/apps/notifications/src/panel/templates/summary-in-list.jsx index 512f2ca5fe892..7a86fd1042760 100644 --- a/apps/notifications/src/panel/templates/summary-in-list.jsx +++ b/apps/notifications/src/panel/templates/summary-in-list.jsx @@ -66,19 +66,8 @@ export class SummaryInList extends React.Component { } const mapDispatchToProps = dispatch => ( { - selectNote: compose( - dispatch, - actions.ui.selectNote - ), - unselectNote: compose( - dispatch, - actions.ui.unselectNote - ), + selectNote: compose( dispatch, actions.ui.selectNote ), + unselectNote: compose( dispatch, actions.ui.unselectNote ), } ); -export default connect( - null, - mapDispatchToProps, - null, - { pure: false } -)( SummaryInList ); +export default connect( null, mapDispatchToProps, null, { pure: false } )( SummaryInList ); diff --git a/apps/notifications/src/panel/templates/undo-list-item.jsx b/apps/notifications/src/panel/templates/undo-list-item.jsx index c580363389c58..241c1817218b1 100644 --- a/apps/notifications/src/panel/templates/undo-list-item.jsx +++ b/apps/notifications/src/panel/templates/undo-list-item.jsx @@ -205,9 +205,6 @@ const mapDispatchToProps = { undoAction: actions.ui.undoAction, }; -export default connect( - mapStateToProps, - mapDispatchToProps, - null, - { pure: false } -)( localize( UndoListItem ) ); +export default connect( mapStateToProps, mapDispatchToProps, null, { pure: false } )( + localize( UndoListItem ) +); diff --git a/client/auth/login.jsx b/client/auth/login.jsx index 837b4c882218a..6f98871b7e7f6 100644 --- a/client/auth/login.jsx +++ b/client/auth/login.jsx @@ -170,9 +170,6 @@ export class Auth extends Component { } } -export default connect( - null, - { - recordGoogleEvent, - } -)( localize( Auth ) ); +export default connect( null, { + recordGoogleEvent, +} )( localize( Auth ) ); diff --git a/client/blocks/app-banner/index.jsx b/client/blocks/app-banner/index.jsx index cab7348d02d4c..477483cc84037 100644 --- a/client/blocks/app-banner/index.jsx +++ b/client/blocks/app-banner/index.jsx @@ -265,7 +265,4 @@ const mapDispatchToProps = { ), }; -export default connect( - mapStateToProps, - mapDispatchToProps -)( localize( AppBanner ) ); +export default connect( mapStateToProps, mapDispatchToProps )( localize( AppBanner ) ); diff --git a/client/blocks/comments/comment-actions.jsx b/client/blocks/comments/comment-actions.jsx index f7072bbef24b7..21a1715c42a11 100644 --- a/client/blocks/comments/comment-actions.jsx +++ b/client/blocks/comments/comment-actions.jsx @@ -149,7 +149,4 @@ const mapDispatchToProps = ( dispatch, ownProps ) => { }; }; -export default connect( - null, - mapDispatchToProps -)( localize( CommentActions ) ); +export default connect( null, mapDispatchToProps )( localize( CommentActions ) ); diff --git a/client/blocks/comments/comment-edit-form.jsx b/client/blocks/comments/comment-edit-form.jsx index 0742e1cd5ec45..af3a7aeaa7c0a 100644 --- a/client/blocks/comments/comment-edit-form.jsx +++ b/client/blocks/comments/comment-edit-form.jsx @@ -200,7 +200,4 @@ PostCommentForm.defaultProps = { const mapDispatchToProps = dispatch => bindActionCreators( { editComment }, dispatch ); -export default connect( - null, - mapDispatchToProps -)( PostCommentForm ); +export default connect( null, mapDispatchToProps )( PostCommentForm ); diff --git a/client/blocks/disconnect-jetpack/docs/example.jsx b/client/blocks/disconnect-jetpack/docs/example.jsx index 16fb90f1f7c1c..281d4fa2777f7 100644 --- a/client/blocks/disconnect-jetpack/docs/example.jsx +++ b/client/blocks/disconnect-jetpack/docs/example.jsx @@ -70,7 +70,7 @@ class DisconnectJetpackDialogExample extends Component {
- Site:{' '}
+ Site:{ ' ' }
{ site.name } ({ siteId })
diff --git a/client/blocks/signup-form/passwordless.jsx b/client/blocks/signup-form/passwordless.jsx
index c60eef03cb35f..778cc7ad0fd98 100644
--- a/client/blocks/signup-form/passwordless.jsx
+++ b/client/blocks/signup-form/passwordless.jsx
@@ -259,11 +259,8 @@ class PasswordlessSignupForm extends Component {
);
}
}
-export default connect(
- null,
- {
- recordTracksEvent,
- saveSignupStep,
- submitCreateAccountStep: submitSignupStep,
- }
-)( localize( PasswordlessSignupForm ) );
+export default connect( null, {
+ recordTracksEvent,
+ saveSignupStep,
+ submitCreateAccountStep: submitSignupStep,
+} )( localize( PasswordlessSignupForm ) );
diff --git a/client/blocks/site-address-changer/index.jsx b/client/blocks/site-address-changer/index.jsx
index 166862fff97a9..c39ae61567a3f 100644
--- a/client/blocks/site-address-changer/index.jsx
+++ b/client/blocks/site-address-changer/index.jsx
@@ -337,7 +337,7 @@ export class SiteAddressChanger extends Component {
{
args: { currentDomainName },
}
- ) }{' '}
+ ) }{ ' ' }
{ translate(
'Before you confirm the change, please read this important information.'
diff --git a/client/blocks/site-preview/index.jsx b/client/blocks/site-preview/index.jsx
index 0cd32c5da9d0b..239fd2accfa4b 100644
--- a/client/blocks/site-preview/index.jsx
+++ b/client/blocks/site-preview/index.jsx
@@ -109,7 +109,4 @@ function mapStateToProps( state ) {
};
}
-export default connect(
- mapStateToProps,
- { closePreview }
-)( SitePreview );
+export default connect( mapStateToProps, { closePreview } )( SitePreview );
diff --git a/client/blocks/site/index.jsx b/client/blocks/site/index.jsx
index 3355cb9fb1bba..32af1f775b8cc 100644
--- a/client/blocks/site/index.jsx
+++ b/client/blocks/site/index.jsx
@@ -187,10 +187,7 @@ function mapStateToProps( state, ownProps ) {
};
}
-export default connect(
- mapStateToProps,
- {
- recordGoogleEvent,
- recordTracksEvent,
- }
-)( localize( Site ) );
+export default connect( mapStateToProps, {
+ recordGoogleEvent,
+ recordTracksEvent,
+} )( localize( Site ) );
diff --git a/client/blocks/support-article-dialog/docs/example.jsx b/client/blocks/support-article-dialog/docs/example.jsx
index 2ebd26d6dff0d..f52805fae48d9 100644
--- a/client/blocks/support-article-dialog/docs/example.jsx
+++ b/client/blocks/support-article-dialog/docs/example.jsx
@@ -29,12 +29,9 @@ class SupportArticleDialogExample extends Component {
}
}
-const ConnectedExample = connect(
- null,
- {
- openSupportArticleDialog,
- }
-)( SupportArticleDialogExample );
+const ConnectedExample = connect( null, {
+ openSupportArticleDialog,
+} )( SupportArticleDialogExample );
ConnectedExample.displayName = 'SupportArticleDialog';
diff --git a/client/blocks/term-tree-selector/terms.jsx b/client/blocks/term-tree-selector/terms.jsx
index a72454e7cc70f..f28b11846391b 100644
--- a/client/blocks/term-tree-selector/terms.jsx
+++ b/client/blocks/term-tree-selector/terms.jsx
@@ -192,13 +192,13 @@ class TermTreeSelectorList extends Component {
hasNoSearchResults = () => {
return (
! this.props.loading &&
- ( this.props.terms && ! this.props.terms.length ) &&
+ this.props.terms && ! this.props.terms.length &&
!! this.state.searchTerm.length
);
};
hasNoTerms = () => {
- return ! this.props.loading && ( this.props.terms && ! this.props.terms.length );
+ return ! this.props.loading && this.props.terms && ! this.props.terms.length;
};
getItem = index => {
diff --git a/client/blocks/upgrade-nudge-expanded/index.jsx b/client/blocks/upgrade-nudge-expanded/index.jsx
index 261b586139bba..6e55073a5aaec 100644
--- a/client/blocks/upgrade-nudge-expanded/index.jsx
+++ b/client/blocks/upgrade-nudge-expanded/index.jsx
@@ -162,7 +162,4 @@ const mapStateToProps = ( state, { plan = PLAN_PERSONAL } ) => ( {
const mapDispatchToProps = dispatch => bindActionCreators( { recordTracksEvent }, dispatch );
-export default connect(
- mapStateToProps,
- mapDispatchToProps
-)( localize( UpgradeNudgeExpanded ) );
+export default connect( mapStateToProps, mapDispatchToProps )( localize( UpgradeNudgeExpanded ) );
diff --git a/client/blocks/upgrade-nudge/index.jsx b/client/blocks/upgrade-nudge/index.jsx
index bb0eeebe6609d..dde09675bf3ed 100644
--- a/client/blocks/upgrade-nudge/index.jsx
+++ b/client/blocks/upgrade-nudge/index.jsx
@@ -96,11 +96,11 @@ export class UpgradeNudge extends React.Component {
const shouldNotDisplay =
isVip ||
! canManageSite ||
- ( ! site || typeof site !== 'object' || typeof site.jetpack !== 'boolean' ) ||
+ ! site || typeof site !== 'object' || typeof site.jetpack !== 'boolean' ||
( feature && planHasFeature ) ||
( ! feature && ! isFreePlan( site.plan ) ) ||
( feature === FEATURE_NO_ADS && site.options.wordads ) ||
- ( ( ! jetpack && site.jetpack ) || ( jetpack && ! site.jetpack ) );
+ ( ! jetpack && site.jetpack ) || ( jetpack && ! site.jetpack );
if ( shouldNotDisplay && ! forceDisplay ) {
return null;
diff --git a/client/blocks/upwork-banner/index.jsx b/client/blocks/upwork-banner/index.jsx
index 6b9c5f307212d..0b90c6b9194aa 100644
--- a/client/blocks/upwork-banner/index.jsx
+++ b/client/blocks/upwork-banner/index.jsx
@@ -123,10 +123,7 @@ const mapStateToProps = ( state, ownProps ) => {
};
};
-export default connect(
- mapStateToProps,
- {
- dismissBanner,
- recordTracksEvent,
- }
-)( localize( UpworkBanner ) );
+export default connect( mapStateToProps, {
+ dismissBanner,
+ recordTracksEvent,
+} )( localize( UpworkBanner ) );
diff --git a/client/components/async-loader/index.jsx b/client/components/async-loader/index.jsx
index 0812b76f36d63..3fc7b43ce03a2 100644
--- a/client/components/async-loader/index.jsx
+++ b/client/components/async-loader/index.jsx
@@ -29,7 +29,10 @@ export const asyncLoader = ( { promises, loading, success, failure } ) =>
return a;
} )
- .then( a => [ true, a, key ], a => [ false, a, key ] )
+ .then(
+ a => [ true, a, key ],
+ a => [ false, a, key ]
+ )
);
Promise.all( runners ).then( resolutions => {
diff --git a/client/components/banner/index.jsx b/client/components/banner/index.jsx
index 2da1da7088fb2..1058249662254 100644
--- a/client/components/banner/index.jsx
+++ b/client/components/banner/index.jsx
@@ -270,7 +270,4 @@ const mapStateToProps = ( state, ownProps ) => ( {
canUserUpgrade: canCurrentUser( state, getSelectedSiteId( state ), 'manage_options' ),
} );
-export default connect(
- mapStateToProps,
- { recordTracksEvent }
-)( Banner );
+export default connect( mapStateToProps, { recordTracksEvent } )( Banner );
diff --git a/client/components/bulk-select/docs/example.jsx b/client/components/bulk-select/docs/example.jsx
index f0d004b17e4a7..b90cbf70be172 100644
--- a/client/components/bulk-select/docs/example.jsx
+++ b/client/components/bulk-select/docs/example.jsx
@@ -16,7 +16,10 @@ export default class extends React.Component {
static displayName = 'BulkSelects';
state = {
- elements: [ { title: 'Apples', selected: true }, { title: 'Oranges', selected: false } ],
+ elements: [
+ { title: 'Apples', selected: true },
+ { title: 'Oranges', selected: false },
+ ],
};
handleToggleAll = checkedState => {
diff --git a/client/components/data/moderate-comment/index.jsx b/client/components/data/moderate-comment/index.jsx
index bcea9c91cf4b0..ac094d096b3ca 100644
--- a/client/components/data/moderate-comment/index.jsx
+++ b/client/components/data/moderate-comment/index.jsx
@@ -119,7 +119,4 @@ const mapDispatchToProps = ( dispatch, { siteId, postId, commentId, newStatus }
),
} );
-export default connect(
- mapStateToProps,
- mapDispatchToProps
-)( localize( ModerateComment ) );
+export default connect( mapStateToProps, mapDispatchToProps )( localize( ModerateComment ) );
diff --git a/client/components/data/query-application-passwords/index.jsx b/client/components/data/query-application-passwords/index.jsx
index d465945013282..8a16adaa5d7be 100644
--- a/client/components/data/query-application-passwords/index.jsx
+++ b/client/components/data/query-application-passwords/index.jsx
@@ -26,7 +26,4 @@ class QueryApplicationPasswords extends Component {
}
}
-export default connect(
- null,
- { requestApplicationPasswords }
-)( QueryApplicationPasswords );
+export default connect( null, { requestApplicationPasswords } )( QueryApplicationPasswords );
diff --git a/client/components/data/query-atat-eligibility/index.jsx b/client/components/data/query-atat-eligibility/index.jsx
index 96e4fba21d38c..2c888e432bcad 100644
--- a/client/components/data/query-atat-eligibility/index.jsx
+++ b/client/components/data/query-atat-eligibility/index.jsx
@@ -42,7 +42,4 @@ export const mapDispatchToProps = {
requestEligibility,
};
-export default connect(
- null,
- mapDispatchToProps
-)( QueryAutomatedTransferEligibility );
+export default connect( null, mapDispatchToProps )( QueryAutomatedTransferEligibility );
diff --git a/client/components/data/query-comment/index.jsx b/client/components/data/query-comment/index.jsx
index 36b25cf5252eb..5e7efc7cabb05 100644
--- a/client/components/data/query-comment/index.jsx
+++ b/client/components/data/query-comment/index.jsx
@@ -48,7 +48,4 @@ export class QueryComment extends Component {
}
}
-export default connect(
- null,
- { requestComment }
-)( QueryComment );
+export default connect( null, { requestComment } )( QueryComment );
diff --git a/client/components/data/query-concierge-appointment-details/index.js b/client/components/data/query-concierge-appointment-details/index.js
index e5f090c48c752..4886d1c0812de 100644
--- a/client/components/data/query-concierge-appointment-details/index.js
+++ b/client/components/data/query-concierge-appointment-details/index.js
@@ -22,7 +22,6 @@ class QueryConciergeAppointmentDetails extends Component {
}
}
-export default connect(
- state => state,
- { requestConciergeAppointmentDetails }
-)( QueryConciergeAppointmentDetails );
+export default connect( state => state, { requestConciergeAppointmentDetails } )(
+ QueryConciergeAppointmentDetails
+);
diff --git a/client/components/data/query-concierge-initial/index.js b/client/components/data/query-concierge-initial/index.js
index 360e4ff77c2f3..22d47362c6535 100644
--- a/client/components/data/query-concierge-initial/index.js
+++ b/client/components/data/query-concierge-initial/index.js
@@ -23,7 +23,4 @@ class QueryConciergeInitial extends Component {
}
}
-export default connect(
- state => state,
- { requestConciergeInitial }
-)( QueryConciergeInitial );
+export default connect( state => state, { requestConciergeInitial } )( QueryConciergeInitial );
diff --git a/client/components/data/query-connected-applications/index.jsx b/client/components/data/query-connected-applications/index.jsx
index d689c897fea75..95c233597b0f8 100644
--- a/client/components/data/query-connected-applications/index.jsx
+++ b/client/components/data/query-connected-applications/index.jsx
@@ -26,7 +26,4 @@ class QueryConnectedApplications extends Component {
}
}
-export default connect(
- null,
- { requestConnectedApplications }
-)( QueryConnectedApplications );
+export default connect( null, { requestConnectedApplications } )( QueryConnectedApplications );
diff --git a/client/components/data/query-countries/domains.jsx b/client/components/data/query-countries/domains.jsx
index b3fb928347f72..1cfa495ca6bec 100644
--- a/client/components/data/query-countries/domains.jsx
+++ b/client/components/data/query-countries/domains.jsx
@@ -11,7 +11,4 @@ import { connect } from 'react-redux';
import QueryCountries from 'components/data/query-countries';
import { fetchDomainCountries } from 'state/countries/actions';
-export default connect(
- null,
- { requestCountries: fetchDomainCountries }
-)( QueryCountries );
+export default connect( null, { requestCountries: fetchDomainCountries } )( QueryCountries );
diff --git a/client/components/data/query-countries/payments.jsx b/client/components/data/query-countries/payments.jsx
index 52a931d69b0cd..6b841942cc6a1 100644
--- a/client/components/data/query-countries/payments.jsx
+++ b/client/components/data/query-countries/payments.jsx
@@ -11,7 +11,4 @@ import { connect } from 'react-redux';
import QueryCountries from 'components/data/query-countries';
import { fetchPaymentCountries } from 'state/countries/actions';
-export default connect(
- null,
- { requestCountries: fetchPaymentCountries }
-)( QueryCountries );
+export default connect( null, { requestCountries: fetchPaymentCountries } )( QueryCountries );
diff --git a/client/components/data/query-countries/sms.jsx b/client/components/data/query-countries/sms.jsx
index 927d403a9eccf..5b2ceade088d5 100644
--- a/client/components/data/query-countries/sms.jsx
+++ b/client/components/data/query-countries/sms.jsx
@@ -11,7 +11,4 @@ import { connect } from 'react-redux';
import QueryCountries from 'components/data/query-countries';
import { fetchSmsCountries } from 'state/countries/actions';
-export default connect(
- null,
- { requestCountries: fetchSmsCountries }
-)( QueryCountries );
+export default connect( null, { requestCountries: fetchSmsCountries } )( QueryCountries );
diff --git a/client/components/data/query-help-links/index.jsx b/client/components/data/query-help-links/index.jsx
index 8c1564aa0a6b4..faedc58c331c8 100644
--- a/client/components/data/query-help-links/index.jsx
+++ b/client/components/data/query-help-links/index.jsx
@@ -41,7 +41,4 @@ QueryHelpLinks.propTypes = {
requestHelpLinks: PropTypes.func,
};
-export default connect(
- null,
- { requestHelpLinks }
-)( QueryHelpLinks );
+export default connect( null, { requestHelpLinks } )( QueryHelpLinks );
diff --git a/client/components/data/query-jetpack-product-install-status/index.js b/client/components/data/query-jetpack-product-install-status/index.js
index 2f6e5ef013fe1..23bc81d591d4c 100644
--- a/client/components/data/query-jetpack-product-install-status/index.js
+++ b/client/components/data/query-jetpack-product-install-status/index.js
@@ -30,9 +30,6 @@ class QueryJetpackProductInstallStatus extends Component {
}
}
-export default connect(
- null,
- {
- requestJetpackProductInstallStatus,
- }
-)( QueryJetpackProductInstallStatus );
+export default connect( null, {
+ requestJetpackProductInstallStatus,
+} )( QueryJetpackProductInstallStatus );
diff --git a/client/components/data/query-mailchimp-lists/index.js b/client/components/data/query-mailchimp-lists/index.js
index f1e959f415113..231e3d2d0ec52 100644
--- a/client/components/data/query-mailchimp-lists/index.js
+++ b/client/components/data/query-mailchimp-lists/index.js
@@ -30,7 +30,4 @@ class QueryMailchimpLists extends Component {
}
}
-export default connect(
- null,
- { requestList }
-)( QueryMailchimpLists );
+export default connect( null, { requestList } )( QueryMailchimpLists );
diff --git a/client/components/data/query-mailchimp-settings/index.js b/client/components/data/query-mailchimp-settings/index.js
index 592f7609d2176..9e6ea5c2a1db8 100644
--- a/client/components/data/query-mailchimp-settings/index.js
+++ b/client/components/data/query-mailchimp-settings/index.js
@@ -30,7 +30,4 @@ class QueryMailchimpSettings extends Component {
}
}
-export default connect(
- null,
- { requestSettings }
-)( QueryMailchimpSettings );
+export default connect( null, { requestSettings } )( QueryMailchimpSettings );
diff --git a/client/components/data/query-media/index.jsx b/client/components/data/query-media/index.jsx
index 3a3caebb6f9ed..c817502943667 100644
--- a/client/components/data/query-media/index.jsx
+++ b/client/components/data/query-media/index.jsx
@@ -65,7 +65,4 @@ class QueryMedia extends Component {
}
}
-export default connect(
- null,
- mapDispatchToProps
-)( QueryMedia );
+export default connect( null, mapDispatchToProps )( QueryMedia );
diff --git a/client/components/data/query-memberships-earnings/index.js b/client/components/data/query-memberships-earnings/index.js
index 3a432d7e92fa4..26ed70612b7c4 100644
--- a/client/components/data/query-memberships-earnings/index.js
+++ b/client/components/data/query-memberships-earnings/index.js
@@ -46,7 +46,4 @@ class QueryMembershipsEarnings extends Component {
}
}
-export default connect(
- null,
- { requestEarnings }
-)( QueryMembershipsEarnings );
+export default connect( null, { requestEarnings } )( QueryMembershipsEarnings );
diff --git a/client/components/data/query-memberships-settings/index.js b/client/components/data/query-memberships-settings/index.js
index c23d182412f47..22136a1be6ddc 100644
--- a/client/components/data/query-memberships-settings/index.js
+++ b/client/components/data/query-memberships-settings/index.js
@@ -46,7 +46,4 @@ class QueryMembershipsSettings extends Component {
}
}
-export default connect(
- null,
- { requestSettings }
-)( QueryMembershipsSettings );
+export default connect( null, { requestSettings } )( QueryMembershipsSettings );
diff --git a/client/components/data/query-memberships-subscriptions/index.js b/client/components/data/query-memberships-subscriptions/index.js
index 321122aa1ebd1..82a5a24ba431f 100644
--- a/client/components/data/query-memberships-subscriptions/index.js
+++ b/client/components/data/query-memberships-subscriptions/index.js
@@ -22,7 +22,4 @@ class QueryMembershipsSubscriptions extends Component {
}
}
-export default connect(
- null,
- { requestSubscriptionsList }
-)( QueryMembershipsSubscriptions );
+export default connect( null, { requestSubscriptionsList } )( QueryMembershipsSubscriptions );
diff --git a/client/components/data/query-memberships/index.js b/client/components/data/query-memberships/index.js
index e13dc6d867fec..f6600f71c4388 100644
--- a/client/components/data/query-memberships/index.js
+++ b/client/components/data/query-memberships/index.js
@@ -46,7 +46,4 @@ class QueryMemberships extends Component {
}
}
-export default connect(
- null,
- { requestProducts }
-)( QueryMemberships );
+export default connect( null, { requestProducts } )( QueryMemberships );
diff --git a/client/components/data/query-post-revision-authors/index.jsx b/client/components/data/query-post-revision-authors/index.jsx
index c8953d2a6ae45..8111101bf0795 100644
--- a/client/components/data/query-post-revision-authors/index.jsx
+++ b/client/components/data/query-post-revision-authors/index.jsx
@@ -49,9 +49,6 @@ class QueryPostRevisionAuthors extends Component {
}
}
-export default connect(
- null,
- {
- requestPostRevisionAuthors,
- }
-)( QueryPostRevisionAuthors );
+export default connect( null, {
+ requestPostRevisionAuthors,
+} )( QueryPostRevisionAuthors );
diff --git a/client/components/data/query-preferences/index.jsx b/client/components/data/query-preferences/index.jsx
index 7821c98ada5be..47563b8be7e11 100644
--- a/client/components/data/query-preferences/index.jsx
+++ b/client/components/data/query-preferences/index.jsx
@@ -36,9 +36,6 @@ QueryPreferences.defaultProps = {
fetchingPreferences: false,
};
-export default connect(
- state => ( { fetchingPreferences: isFetchingPreferences( state ) } ),
- {
- fetchPreferences,
- }
-)( QueryPreferences );
+export default connect( state => ( { fetchingPreferences: isFetchingPreferences( state ) } ), {
+ fetchPreferences,
+} )( QueryPreferences );
diff --git a/client/components/data/query-privacy-policy/index.jsx b/client/components/data/query-privacy-policy/index.jsx
index 7231a3b014774..cda8ce33a1257 100644
--- a/client/components/data/query-privacy-policy/index.jsx
+++ b/client/components/data/query-privacy-policy/index.jsx
@@ -27,7 +27,4 @@ export class QueryPrivacyPolicy extends Component {
}
}
-export default connect(
- null,
- { requestPrivacyPolicy }
-)( QueryPrivacyPolicy );
+export default connect( null, { requestPrivacyPolicy } )( QueryPrivacyPolicy );
diff --git a/client/components/data/query-products-list/index.jsx b/client/components/data/query-products-list/index.jsx
index ca36cfb848fd8..dca0398e8e35c 100644
--- a/client/components/data/query-products-list/index.jsx
+++ b/client/components/data/query-products-list/index.jsx
@@ -31,7 +31,6 @@ QueryProductsList.propTypes = {
requestProductsList: PropTypes.func,
};
-export default connect(
- state => ( { isFetching: isFetching( state ) } ),
- { requestProductsList }
-)( QueryProductsList );
+export default connect( state => ( { isFetching: isFetching( state ) } ), { requestProductsList } )(
+ QueryProductsList
+);
diff --git a/client/components/data/query-profile-links/index.jsx b/client/components/data/query-profile-links/index.jsx
index c3e01986274ef..a749c8c452598 100644
--- a/client/components/data/query-profile-links/index.jsx
+++ b/client/components/data/query-profile-links/index.jsx
@@ -26,7 +26,4 @@ class QueryProfileLinks extends Component {
}
}
-export default connect(
- null,
- { requestUserProfileLinks }
-)( QueryProfileLinks );
+export default connect( null, { requestUserProfileLinks } )( QueryProfileLinks );
diff --git a/client/components/data/query-reader-feeds-search/index.jsx b/client/components/data/query-reader-feeds-search/index.jsx
index bf0ca0de851e7..51e2c3b15a759 100644
--- a/client/components/data/query-reader-feeds-search/index.jsx
+++ b/client/components/data/query-reader-feeds-search/index.jsx
@@ -45,7 +45,4 @@ class QueryFeedSearch extends Component {
}
}
-export default connect(
- null,
- { requestFeedSearch }
-)( QueryFeedSearch );
+export default connect( null, { requestFeedSearch } )( QueryFeedSearch );
diff --git a/client/components/data/query-reader-followed-tags/index.jsx b/client/components/data/query-reader-followed-tags/index.jsx
index caa9f19b21488..d50e9b7d4f770 100644
--- a/client/components/data/query-reader-followed-tags/index.jsx
+++ b/client/components/data/query-reader-followed-tags/index.jsx
@@ -31,7 +31,4 @@ class QueryReaderFollowedTags extends Component {
}
}
-export default connect(
- null,
- { requestFollowedTags: requestTags }
-)( QueryReaderFollowedTags );
+export default connect( null, { requestFollowedTags: requestTags } )( QueryReaderFollowedTags );
diff --git a/client/components/data/query-reader-recommended-sites/index.jsx b/client/components/data/query-reader-recommended-sites/index.jsx
index 60d84b153edc5..11f684d325404 100644
--- a/client/components/data/query-reader-recommended-sites/index.jsx
+++ b/client/components/data/query-reader-recommended-sites/index.jsx
@@ -37,7 +37,4 @@ class QueryReaderRecommendedSites extends Component {
}
}
-export default connect(
- null,
- { requestRecommendedSites }
-)( QueryReaderRecommendedSites );
+export default connect( null, { requestRecommendedSites } )( QueryReaderRecommendedSites );
diff --git a/client/components/data/query-reader-tag/index.jsx b/client/components/data/query-reader-tag/index.jsx
index 4f1b903114f02..4fb95303e9c7e 100644
--- a/client/components/data/query-reader-tag/index.jsx
+++ b/client/components/data/query-reader-tag/index.jsx
@@ -24,7 +24,4 @@ QueryReaderTag.propTypes = {
tag: PropTypes.string.isRequired,
};
-export default connect(
- null,
- { requestTags }
-)( QueryReaderTag );
+export default connect( null, { requestTags } )( QueryReaderTag );
diff --git a/client/components/data/query-reader-teams/index.jsx b/client/components/data/query-reader-teams/index.jsx
index a1ee8d251bd38..6162a9ec5deff 100644
--- a/client/components/data/query-reader-teams/index.jsx
+++ b/client/components/data/query-reader-teams/index.jsx
@@ -27,7 +27,4 @@ QueryReaderTeams.propTypes = {
request: PropTypes.func,
};
-export default connect(
- null,
- { requestTeams }
-)( QueryReaderTeams );
+export default connect( null, { requestTeams } )( QueryReaderTeams );
diff --git a/client/components/data/query-reader-thumbnails/index.jsx b/client/components/data/query-reader-thumbnails/index.jsx
index 3bd0ee5d4ac5e..055ec55424747 100644
--- a/client/components/data/query-reader-thumbnails/index.jsx
+++ b/client/components/data/query-reader-thumbnails/index.jsx
@@ -49,7 +49,4 @@ const mapStateToProps = ( state, ownProps ) => ( {
const mapDispatchToProps = dispatch => bindActionCreators( { requestThumbnail }, dispatch );
-export default connect(
- mapStateToProps,
- mapDispatchToProps
-)( QueryReaderThumbnails );
+export default connect( mapStateToProps, mapDispatchToProps )( QueryReaderThumbnails );
diff --git a/client/components/data/query-rewind-backup-status/index.js b/client/components/data/query-rewind-backup-status/index.js
index 3d9516800da5d..24c436414d45c 100644
--- a/client/components/data/query-rewind-backup-status/index.js
+++ b/client/components/data/query-rewind-backup-status/index.js
@@ -43,7 +43,4 @@ class QueryRewindBackupStatus extends Component {
}
}
-export default connect(
- null,
- { getRewindBackupProgress }
-)( QueryRewindBackupStatus );
+export default connect( null, { getRewindBackupProgress } )( QueryRewindBackupStatus );
diff --git a/client/components/data/query-rewind-restore-status/index.js b/client/components/data/query-rewind-restore-status/index.js
index 30e8145f0ac06..33a58bdaa6b54 100644
--- a/client/components/data/query-rewind-restore-status/index.js
+++ b/client/components/data/query-rewind-restore-status/index.js
@@ -29,7 +29,4 @@ class QueryRewindRestoreStatus extends Component {
}
}
-export default connect(
- null,
- { getRewindRestoreProgress }
-)( QueryRewindRestoreStatus );
+export default connect( null, { getRewindRestoreProgress } )( QueryRewindRestoreStatus );
diff --git a/client/components/data/query-rewind-state/index.jsx b/client/components/data/query-rewind-state/index.jsx
index ac92fdc3c7bad..fa3ebe62f1ef3 100644
--- a/client/components/data/query-rewind-state/index.jsx
+++ b/client/components/data/query-rewind-state/index.jsx
@@ -40,7 +40,4 @@ const mapDispatchToProps = {
requestState: requestRewindState,
};
-export default connect(
- null,
- mapDispatchToProps
-)( QueryRewindState );
+export default connect( null, mapDispatchToProps )( QueryRewindState );
diff --git a/client/components/data/query-simple-payments/index.js b/client/components/data/query-simple-payments/index.js
index f774208c50267..f76d83d41a602 100644
--- a/client/components/data/query-simple-payments/index.js
+++ b/client/components/data/query-simple-payments/index.js
@@ -61,7 +61,4 @@ class QuerySimplePayments extends Component {
}
}
-export default connect(
- null,
- { requestProduct, requestProducts }
-)( QuerySimplePayments );
+export default connect( null, { requestProduct, requestProducts } )( QuerySimplePayments );
diff --git a/client/components/data/query-site-blocks/index.jsx b/client/components/data/query-site-blocks/index.jsx
index 0ff3b96197225..31044239246f7 100644
--- a/client/components/data/query-site-blocks/index.jsx
+++ b/client/components/data/query-site-blocks/index.jsx
@@ -37,7 +37,4 @@ class QuerySiteBlocks extends Component {
}
}
-export default connect(
- null,
- { requestSiteBlocks }
-)( QuerySiteBlocks );
+export default connect( null, { requestSiteBlocks } )( QuerySiteBlocks );
diff --git a/client/components/data/query-site-checklist/index.js b/client/components/data/query-site-checklist/index.js
index 837ac02ae3af2..c2274e804f251 100644
--- a/client/components/data/query-site-checklist/index.js
+++ b/client/components/data/query-site-checklist/index.js
@@ -42,7 +42,4 @@ class QuerySiteChecklist extends Component {
}
}
-export default connect(
- null,
- { requestSiteChecklist }
-)( QuerySiteChecklist );
+export default connect( null, { requestSiteChecklist } )( QuerySiteChecklist );
diff --git a/client/components/data/query-site-comment-counts/index.jsx b/client/components/data/query-site-comment-counts/index.jsx
index d136be98d5bf9..096bb45d11dba 100644
--- a/client/components/data/query-site-comment-counts/index.jsx
+++ b/client/components/data/query-site-comment-counts/index.jsx
@@ -41,7 +41,4 @@ export class QuerySiteCommentCounts extends PureComponent {
}
}
-export default connect(
- null,
- { requestCommentCounts }
-)( QuerySiteCommentCounts );
+export default connect( null, { requestCommentCounts } )( QuerySiteCommentCounts );
diff --git a/client/components/data/query-site-comments-list/index.jsx b/client/components/data/query-site-comments-list/index.jsx
index 7c9ba9a7ae71a..c73e7d4666295 100644
--- a/client/components/data/query-site-comments-list/index.jsx
+++ b/client/components/data/query-site-comments-list/index.jsx
@@ -47,7 +47,4 @@ export class QuerySiteCommentsList extends PureComponent {
}
}
-export default connect(
- null,
- { requestCommentsList }
-)( QuerySiteCommentsList );
+export default connect( null, { requestCommentsList } )( QuerySiteCommentsList );
diff --git a/client/components/data/query-site-comments-tree/index.jsx b/client/components/data/query-site-comments-tree/index.jsx
index 71b70ad12c889..a8bd536457ec4 100644
--- a/client/components/data/query-site-comments-tree/index.jsx
+++ b/client/components/data/query-site-comments-tree/index.jsx
@@ -47,7 +47,4 @@ export class QuerySiteCommentsTree extends Component {
}
}
-export default connect(
- null,
- { requestCommentsTreeForSite }
-)( QuerySiteCommentsTree );
+export default connect( null, { requestCommentsTreeForSite } )( QuerySiteCommentsTree );
diff --git a/client/components/data/query-site-guided-transfer/index.jsx b/client/components/data/query-site-guided-transfer/index.jsx
index 8d40f90583f28..a4120d3b89d65 100644
--- a/client/components/data/query-site-guided-transfer/index.jsx
+++ b/client/components/data/query-site-guided-transfer/index.jsx
@@ -58,7 +58,4 @@ const mapStateToProps = ( state, ownProps ) => ( {
const mapDispatchToProps = dispatch =>
bindActionCreators( { requestGuidedTransferStatus }, dispatch );
-export default connect(
- mapStateToProps,
- mapDispatchToProps
-)( QuerySiteGuidedTransfer );
+export default connect( mapStateToProps, mapDispatchToProps )( QuerySiteGuidedTransfer );
diff --git a/client/components/data/query-site-recommended-plugins/index.jsx b/client/components/data/query-site-recommended-plugins/index.jsx
index 67723c803b6fe..f4d3c6ba19cad 100644
--- a/client/components/data/query-site-recommended-plugins/index.jsx
+++ b/client/components/data/query-site-recommended-plugins/index.jsx
@@ -30,9 +30,6 @@ class QuerySiteRecommendedPlugins extends Component {
}
}
-export default connect(
- null,
- {
- fetchRecommendedPlugins,
- }
-)( QuerySiteRecommendedPlugins );
+export default connect( null, {
+ fetchRecommendedPlugins,
+} )( QuerySiteRecommendedPlugins );
diff --git a/client/components/data/query-site-selected-editor/index.jsx b/client/components/data/query-site-selected-editor/index.jsx
index 521e558e1c0d2..12939d5ede079 100644
--- a/client/components/data/query-site-selected-editor/index.jsx
+++ b/client/components/data/query-site-selected-editor/index.jsx
@@ -38,7 +38,4 @@ export class QuerySiteSelectedEditor extends Component {
}
}
-export default connect(
- null,
- { requestSelectedEditor }
-)( QuerySiteSelectedEditor );
+export default connect( null, { requestSelectedEditor } )( QuerySiteSelectedEditor );
diff --git a/client/components/data/query-stats-recent-post-views/index.jsx b/client/components/data/query-stats-recent-post-views/index.jsx
index f2f13ebadbc85..251be105550e1 100644
--- a/client/components/data/query-stats-recent-post-views/index.jsx
+++ b/client/components/data/query-stats-recent-post-views/index.jsx
@@ -55,7 +55,4 @@ class QueryRecentPostViews extends Component {
}
}
-export default connect(
- null,
- { requestRecentPostViews }
-)( QueryRecentPostViews );
+export default connect( null, { requestRecentPostViews } )( QueryRecentPostViews );
diff --git a/client/components/data/query-theme-filters/index.jsx b/client/components/data/query-theme-filters/index.jsx
index 9fae44ba147e6..610a865d55b79 100644
--- a/client/components/data/query-theme-filters/index.jsx
+++ b/client/components/data/query-theme-filters/index.jsx
@@ -27,7 +27,4 @@ export class QueryThemeFilters extends Component {
}
}
-export default connect(
- null,
- { requestThemeFilters }
-)( QueryThemeFilters );
+export default connect( null, { requestThemeFilters } )( QueryThemeFilters );
diff --git a/client/components/data/query-timezones/index.jsx b/client/components/data/query-timezones/index.jsx
index 3a55d4c635f33..b3cf286440644 100644
--- a/client/components/data/query-timezones/index.jsx
+++ b/client/components/data/query-timezones/index.jsx
@@ -27,7 +27,4 @@ export class QueryTimezones extends Component {
}
}
-export default connect(
- null,
- { requestTimezones }
-)( QueryTimezones );
+export default connect( null, { requestTimezones } )( QueryTimezones );
diff --git a/client/components/data/query-user-devices/index.jsx b/client/components/data/query-user-devices/index.jsx
index 2b6183989b638..2496b6a72ced5 100644
--- a/client/components/data/query-user-devices/index.jsx
+++ b/client/components/data/query-user-devices/index.jsx
@@ -27,7 +27,4 @@ class QueryUserDevices extends Component {
}
}
-export default connect(
- null,
- { requestUserDevices }
-)( QueryUserDevices );
+export default connect( null, { requestUserDevices } )( QueryUserDevices );
diff --git a/client/components/data/query-user-settings/index.jsx b/client/components/data/query-user-settings/index.jsx
index 4a924254e28b5..33c3b01d758b6 100644
--- a/client/components/data/query-user-settings/index.jsx
+++ b/client/components/data/query-user-settings/index.jsx
@@ -22,7 +22,4 @@ class QueryUserSettings extends Component {
}
}
-export default connect(
- null,
- { fetchUserSettings }
-)( QueryUserSettings );
+export default connect( null, { fetchUserSettings } )( QueryUserSettings );
diff --git a/client/components/data/query-wordads-earnings/index.jsx b/client/components/data/query-wordads-earnings/index.jsx
index 41e485eccce2c..d50c5d79766a1 100644
--- a/client/components/data/query-wordads-earnings/index.jsx
+++ b/client/components/data/query-wordads-earnings/index.jsx
@@ -38,7 +38,4 @@ class QueryWordadsEarnings extends Component {
}
}
-export default connect(
- null,
- { requestWordadsEarnings }
-)( QueryWordadsEarnings );
+export default connect( null, { requestWordadsEarnings } )( QueryWordadsEarnings );
diff --git a/client/components/data/query-wordads-status/index.jsx b/client/components/data/query-wordads-status/index.jsx
index fe9ee05bae59f..2b2c358ce71ce 100644
--- a/client/components/data/query-wordads-status/index.jsx
+++ b/client/components/data/query-wordads-status/index.jsx
@@ -38,7 +38,4 @@ class QueryWordadsStatus extends Component {
}
}
-export default connect(
- null,
- { requestWordadsStatus }
-)( QueryWordadsStatus );
+export default connect( null, { requestWordadsStatus } )( QueryWordadsStatus );
diff --git a/client/components/date-picker/index.jsx b/client/components/date-picker/index.jsx
index b4e6ae0652b15..006edd10cd87f 100644
--- a/client/components/date-picker/index.jsx
+++ b/client/components/date-picker/index.jsx
@@ -229,8 +229,9 @@ class DatePicker extends PureComponent {
}
if ( this.props.events && this.props.events.length ) {
- modifiers.events = map( filter( this.props.events, event => event.date ), event =>
- this.getDateInstance( event.date )
+ modifiers.events = map(
+ filter( this.props.events, event => event.date ),
+ event => this.getDateInstance( event.date )
);
}
diff --git a/client/components/domains/contact-details-form-fields/index.jsx b/client/components/domains/contact-details-form-fields/index.jsx
index 1c18119bf79b0..2d4c7f5f51f51 100644
--- a/client/components/domains/contact-details-form-fields/index.jsx
+++ b/client/components/domains/contact-details-form-fields/index.jsx
@@ -141,9 +141,9 @@ export class ContactDetailsFormFields extends Component {
! isEqual( nextProps.labelTexts, this.props.labelTexts ) ||
! isEqual( nextProps.countriesList, this.props.countriesList ) ||
! isEqual( nextProps.hasCountryStates, this.props.hasCountryStates ) ||
- ( nextProps.needsFax !== this.props.needsFax ||
+ nextProps.needsFax !== this.props.needsFax ||
nextProps.disableSubmitButton !== this.props.disableSubmitButton ||
- nextProps.needsOnlyGoogleAppsDetails !== this.props.needsOnlyGoogleAppsDetails )
+ nextProps.needsOnlyGoogleAppsDetails !== this.props.needsOnlyGoogleAppsDetails
);
}
diff --git a/client/components/domains/domain-registration-suggestion/index.jsx b/client/components/domains/domain-registration-suggestion/index.jsx
index e0bcc06b4ab5d..312ab52187821 100644
--- a/client/components/domains/domain-registration-suggestion/index.jsx
+++ b/client/components/domains/domain-registration-suggestion/index.jsx
@@ -335,7 +335,6 @@ const mapStateToProps = ( state, props ) => {
};
};
-export default connect(
- mapStateToProps,
- { recordTracksEvent }
-)( localize( DomainRegistrationSuggestion ) );
+export default connect( mapStateToProps, { recordTracksEvent } )(
+ localize( DomainRegistrationSuggestion )
+);
diff --git a/client/components/domains/domain-search-results/index.jsx b/client/components/domains/domain-search-results/index.jsx
index d25a020204d26..a0119efc6e750 100644
--- a/client/components/domains/domain-search-results/index.jsx
+++ b/client/components/domains/domain-search-results/index.jsx
@@ -329,7 +329,4 @@ const mapStateToProps = ( state, ownProps ) => {
};
};
-export default connect(
- mapStateToProps,
- { hideSitePreview }
-)( localize( DomainSearchResults ) );
+export default connect( mapStateToProps, { hideSitePreview } )( localize( DomainSearchResults ) );
diff --git a/client/components/domains/register-domain-step/analytics.js b/client/components/domains/register-domain-step/analytics.js
index dd911c5bfbebd..84c5510f238fa 100644
--- a/client/components/domains/register-domain-step/analytics.js
+++ b/client/components/domains/register-domain-step/analytics.js
@@ -129,10 +129,7 @@ function processFiltersForAnalytics( filters ) {
const convertArraysToCSV = input =>
mapValues( input, value => ( Array.isArray( value ) ? value.join( ',' ) : value ) );
const prepareKeys = input => mapKeys( input, ( value, key ) => `filters_${ snakeCase( key ) }` );
- const transformation = flow(
- prepareKeys,
- convertArraysToCSV
- );
+ const transformation = flow( prepareKeys, convertArraysToCSV );
return transformation( filters );
}
diff --git a/client/components/domains/search-filters/tld-filter-bar.jsx b/client/components/domains/search-filters/tld-filter-bar.jsx
index 5f7050e50cbcc..aab1d7a188a50 100644
--- a/client/components/domains/search-filters/tld-filter-bar.jsx
+++ b/client/components/domains/search-filters/tld-filter-bar.jsx
@@ -204,9 +204,6 @@ export class TldFilterBar extends Component {
);
}
}
-export default connect(
- null,
- {
- recordTldFilterSelected,
- }
-)( localize( TldFilterBar ) );
+export default connect( null, {
+ recordTldFilterSelected,
+} )( localize( TldFilterBar ) );
diff --git a/client/components/domains/trademark-claims-notice/index.jsx b/client/components/domains/trademark-claims-notice/index.jsx
index 875a797c89edf..ad6b519b9ead0 100644
--- a/client/components/domains/trademark-claims-notice/index.jsx
+++ b/client/components/domains/trademark-claims-notice/index.jsx
@@ -288,11 +288,8 @@ export const recordAcknowledgeTrademarkButtonClickInTrademarkNotice = domainName
} )
);
-export default connect(
- state => ( { selectedSite: getSelectedSite( state ) } ),
- {
- recordAcknowledgeTrademarkButtonClickInTrademarkNotice,
- recordChooseAnotherDomainButtonClickInTrademarkNotice,
- recordShowTrademarkNoticeButtonClickInTrademarkNotice,
- }
-)( localize( TrademarkClaimsNotice ) );
+export default connect( state => ( { selectedSite: getSelectedSite( state ) } ), {
+ recordAcknowledgeTrademarkButtonClickInTrademarkNotice,
+ recordChooseAnotherDomainButtonClickInTrademarkNotice,
+ recordShowTrademarkNoticeButtonClickInTrademarkNotice,
+} )( localize( TrademarkClaimsNotice ) );
diff --git a/client/components/drop-zone/index.jsx b/client/components/drop-zone/index.jsx
index 95d8dbb9fda0b..dd0b493768538 100644
--- a/client/components/drop-zone/index.jsx
+++ b/client/components/drop-zone/index.jsx
@@ -273,7 +273,4 @@ const mapDispatch = {
hideDropZone,
};
-export default connect(
- null,
- mapDispatch
-)( localize( DropZone ) );
+export default connect( null, mapDispatch )( localize( DropZone ) );
diff --git a/client/components/external-link/with-tracking.jsx b/client/components/external-link/with-tracking.jsx
index e3b9f8da07509..4a81dcc5c111f 100644
--- a/client/components/external-link/with-tracking.jsx
+++ b/client/components/external-link/with-tracking.jsx
@@ -53,7 +53,4 @@ ExternalLinkWithTracking.propTypes = {
recordTracksEvent: PropTypes.func.isRequired,
};
-export default connect(
- null,
- { recordTracksEvent }
-)( ExternalLinkWithTracking );
+export default connect( null, { recordTracksEvent } )( ExternalLinkWithTracking );
diff --git a/client/components/focusable/docs/example.jsx b/client/components/focusable/docs/example.jsx
index a114dd5c1b289..39623cda4176d 100644
--- a/client/components/focusable/docs/example.jsx
+++ b/client/components/focusable/docs/example.jsx
@@ -39,7 +39,7 @@ class FocusableExample extends React.PureComponent {
- This keyboard-accessible component can contain other elements as children, including{' '}
+ This keyboard-accessible component can contain other elements as children, including{ ' ' }
Please exercise caution in deciding to use a spinner in your component. A
lone spinner is a poor user-experience and conveys little context to what the user should
- expect from the page. Refer to{' '}
+ expect from the page. Refer to{ ' ' }
the Reactivity and Loading States guide
- {' '}
+ p
s, div
s, or other components.
diff --git a/client/components/forms/form-input-validation/index.jsx b/client/components/forms/form-input-validation/index.jsx
index fbc77949f73f2..5edbcd9fdbf11 100644
--- a/client/components/forms/form-input-validation/index.jsx
+++ b/client/components/forms/form-input-validation/index.jsx
@@ -40,7 +40,7 @@ export default class extends React.Component {
return (
- Are we missing documentation? Could our docs be improved? Let us know by{' '} + Are we missing documentation? Could our docs be improved? Let us know by{ ' ' } filing a GitHub issue!
- This is your local running copy of Calypso. If you want a quick start,{' '} + This is your local running copy of Calypso. If you want a quick start,{ ' ' } check the Guide. To access the documentation at any time, use the small badge in the bottom right corner.
diff --git a/client/extensions/hello-dolly/hello-dolly-page.js b/client/extensions/hello-dolly/hello-dolly-page.js index 914696592441f..6f73fb337cb8f 100644 --- a/client/extensions/hello-dolly/hello-dolly-page.js +++ b/client/extensions/hello-dolly/hello-dolly-page.js @@ -118,7 +118,4 @@ function mapDispatchToProps( dispatch ) { ); } -export default connect( - mapStateToProps, - mapDispatchToProps -)( HelloDollyPage ); +export default connect( mapStateToProps, mapDispatchToProps )( HelloDollyPage ); diff --git a/client/extensions/woocommerce/app/dashboard/index.js b/client/extensions/woocommerce/app/dashboard/index.js index 1059b10e1a2e6..0b31afee8683d 100644 --- a/client/extensions/woocommerce/app/dashboard/index.js +++ b/client/extensions/woocommerce/app/dashboard/index.js @@ -296,7 +296,4 @@ function mapStateToProps( state ) { }; } -export default connect( - mapStateToProps, - { fetchCounts } -)( localize( Dashboard ) ); +export default connect( mapStateToProps, { fetchCounts } )( localize( Dashboard ) ); diff --git a/client/extensions/woocommerce/app/dashboard/manage-orders-view.js b/client/extensions/woocommerce/app/dashboard/manage-orders-view.js index 35ae4e00cbc5d..46a154531f862 100644 --- a/client/extensions/woocommerce/app/dashboard/manage-orders-view.js +++ b/client/extensions/woocommerce/app/dashboard/manage-orders-view.js @@ -212,7 +212,4 @@ function mapStateToProps( state ) { }; } -export default connect( - mapStateToProps, - { fetchCounts } -)( localize( ManageOrdersView ) ); +export default connect( mapStateToProps, { fetchCounts } )( localize( ManageOrdersView ) ); diff --git a/client/extensions/woocommerce/app/dashboard/required-pages-setup-view.js b/client/extensions/woocommerce/app/dashboard/required-pages-setup-view.js index 7ef4bb59fa117..fa5c9d513d824 100644 --- a/client/extensions/woocommerce/app/dashboard/required-pages-setup-view.js +++ b/client/extensions/woocommerce/app/dashboard/required-pages-setup-view.js @@ -66,7 +66,4 @@ function mapDispatchToProps( dispatch ) { ); } -export default connect( - mapStateToProps, - mapDispatchToProps -)( localize( RequiredPagesSetupView ) ); +export default connect( mapStateToProps, mapDispatchToProps )( localize( RequiredPagesSetupView ) ); diff --git a/client/extensions/woocommerce/app/dashboard/setup/index.js b/client/extensions/woocommerce/app/dashboard/setup/index.js index 73a2b93ddc1fc..4c0c998d9e69c 100644 --- a/client/extensions/woocommerce/app/dashboard/setup/index.js +++ b/client/extensions/woocommerce/app/dashboard/setup/index.js @@ -93,7 +93,4 @@ function mapDispatchToProps( dispatch ) { ); } -export default connect( - mapStateToProps, - mapDispatchToProps -)( localize( SetupTasksView ) ); +export default connect( mapStateToProps, mapDispatchToProps )( localize( SetupTasksView ) ); diff --git a/client/extensions/woocommerce/app/dashboard/setup/store-location.js b/client/extensions/woocommerce/app/dashboard/setup/store-location.js index e331361b4a103..b03844a751e48 100644 --- a/client/extensions/woocommerce/app/dashboard/setup/store-location.js +++ b/client/extensions/woocommerce/app/dashboard/setup/store-location.js @@ -339,7 +339,4 @@ function mapDispatchToProps( dispatch ) { ); } -export default connect( - mapStateToProps, - mapDispatchToProps -)( localize( StoreLocationSetupView ) ); +export default connect( mapStateToProps, mapDispatchToProps )( localize( StoreLocationSetupView ) ); diff --git a/client/extensions/woocommerce/app/dashboard/setup/tasks.js b/client/extensions/woocommerce/app/dashboard/setup/tasks.js index d602a26d9cb0d..29502a858e939 100644 --- a/client/extensions/woocommerce/app/dashboard/setup/tasks.js +++ b/client/extensions/woocommerce/app/dashboard/setup/tasks.js @@ -192,7 +192,4 @@ function mapDispatchToProps( dispatch ) { ); } -export default connect( - mapStateToProps, - mapDispatchToProps -)( localize( SetupTasks ) ); +export default connect( mapStateToProps, mapDispatchToProps )( localize( SetupTasks ) ); diff --git a/client/extensions/woocommerce/app/index.js b/client/extensions/woocommerce/app/index.js index 71398052575db..2b037d2f40915 100644 --- a/client/extensions/woocommerce/app/index.js +++ b/client/extensions/woocommerce/app/index.js @@ -191,7 +191,4 @@ function mapStateToProps( state ) { }; } -export default connect( - mapStateToProps, - { fetchSetupChoices } -)( localize( App ) ); +export default connect( mapStateToProps, { fetchSetupChoices } )( localize( App ) ); diff --git a/client/extensions/woocommerce/app/order/order-payment/index.js b/client/extensions/woocommerce/app/order/order-payment/index.js index 6746eff2b0025..26c12b4c9be17 100644 --- a/client/extensions/woocommerce/app/order/order-payment/index.js +++ b/client/extensions/woocommerce/app/order/order-payment/index.js @@ -141,7 +141,6 @@ class OrderPaymentCard extends Component { } } -export default connect( - null, - dispatch => bindActionCreators( { saveOrder }, dispatch ) -)( localize( OrderPaymentCard ) ); +export default connect( null, dispatch => bindActionCreators( { saveOrder }, dispatch ) )( + localize( OrderPaymentCard ) +); diff --git a/client/extensions/woocommerce/app/orders/orders-list.js b/client/extensions/woocommerce/app/orders/orders-list.js index 30360d30109ec..8be85589ca981 100644 --- a/client/extensions/woocommerce/app/orders/orders-list.js +++ b/client/extensions/woocommerce/app/orders/orders-list.js @@ -157,7 +157,7 @@ class Orders extends Component {- {' '} - {' '} + { ' ' } + { ' ' }
); } diff --git a/client/my-sites/activity/activity-log-banner/error-banner.jsx b/client/my-sites/activity/activity-log-banner/error-banner.jsx index 7074034723139..0d4580489d8af 100644 --- a/client/my-sites/activity/activity-log-banner/error-banner.jsx +++ b/client/my-sites/activity/activity-log-banner/error-banner.jsx @@ -119,11 +119,8 @@ class ErrorBanner extends PureComponent { } } -export default connect( - null, - { - dismissRewindRestoreProgress: dismissRewindRestoreProgressAction, - trackHappyChatBackup: () => recordTracksEvent( 'calypso_activitylog_error_banner_backup' ), - trackHappyChatRestore: () => recordTracksEvent( 'calypso_activitylog_error_banner_restore' ), - } -)( localize( ErrorBanner ) ); +export default connect( null, { + dismissRewindRestoreProgress: dismissRewindRestoreProgressAction, + trackHappyChatBackup: () => recordTracksEvent( 'calypso_activitylog_error_banner_backup' ), + trackHappyChatRestore: () => recordTracksEvent( 'calypso_activitylog_error_banner_restore' ), +} )( localize( ErrorBanner ) ); diff --git a/client/my-sites/activity/activity-log-confirm-dialog/index.jsx b/client/my-sites/activity/activity-log-confirm-dialog/index.jsx index 61571a4d214d9..7ed4752a534f0 100644 --- a/client/my-sites/activity/activity-log-confirm-dialog/index.jsx +++ b/client/my-sites/activity/activity-log-confirm-dialog/index.jsx @@ -120,7 +120,4 @@ const mapDispatchToProps = { happychatEvent: () => recordTracksEvent( 'calypso_activitylog_confirm_dialog' ), }; -export default connect( - null, - mapDispatchToProps -)( localize( ActivityLogConfirmDialog ) ); +export default connect( null, mapDispatchToProps )( localize( ActivityLogConfirmDialog ) ); diff --git a/client/my-sites/activity/activity-log-item/index.jsx b/client/my-sites/activity/activity-log-item/index.jsx index 4e9484c212153..b96ff8fd29705 100644 --- a/client/my-sites/activity/activity-log-item/index.jsx +++ b/client/my-sites/activity/activity-log-item/index.jsx @@ -477,10 +477,7 @@ const mapDispatchToProps = ( dispatch, { activity: { activityId }, siteId } ) => } ); export default compose( - connect( - mapStateToProps, - mapDispatchToProps - ), + connect( mapStateToProps, mapDispatchToProps ), withDesktopBreakpoint, withLocalizedMoment, localize diff --git a/client/my-sites/activity/activity-log-tasklist/index.jsx b/client/my-sites/activity/activity-log-tasklist/index.jsx index 2277889fcff37..81ab98b9beab1 100644 --- a/client/my-sites/activity/activity-log-tasklist/index.jsx +++ b/client/my-sites/activity/activity-log-tasklist/index.jsx @@ -620,8 +620,5 @@ const mapDispatchToProps = ( dispatch, { siteId } ) => ( { } ); export default WithItemsToUpdate( - connect( - mapStateToProps, - mapDispatchToProps - )( localize( ActivityLogTasklist ) ) + connect( mapStateToProps, mapDispatchToProps )( localize( ActivityLogTasklist ) ) ); diff --git a/client/my-sites/activity/activity-log/threat-alert.jsx b/client/my-sites/activity/activity-log/threat-alert.jsx index 8817d8728b30e..026f14d652ff3 100644 --- a/client/my-sites/activity/activity-log/threat-alert.jsx +++ b/client/my-sites/activity/activity-log/threat-alert.jsx @@ -393,19 +393,16 @@ const mapStateToProps = state => ( { siteSlug: getSelectedSiteSlug( state ), } ); -export default connect( - mapStateToProps, - { - fixThreat: ( siteId, threatId ) => - withAnalytics( - recordTracksEvent( 'calypso_activitylog_threat_fix', { threat_id: threatId } ), - fixThreatAlert( siteId, threatId ) - ), - ignoreThreat: ( siteId, threatId ) => - withAnalytics( - recordTracksEvent( 'calypso_activitylog_threat_ignore', { threat_id: threatId } ), - ignoreThreatAlert( siteId, threatId ) - ), - requestRewindState, - } -)( localize( ThreatAlert ) ); +export default connect( mapStateToProps, { + fixThreat: ( siteId, threatId ) => + withAnalytics( + recordTracksEvent( 'calypso_activitylog_threat_fix', { threat_id: threatId } ), + fixThreatAlert( siteId, threatId ) + ), + ignoreThreat: ( siteId, threatId ) => + withAnalytics( + recordTracksEvent( 'calypso_activitylog_threat_ignore', { threat_id: threatId } ), + ignoreThreatAlert( siteId, threatId ) + ), + requestRewindState, +} )( localize( ThreatAlert ) ); diff --git a/client/my-sites/activity/filterbar/action-type-selector.jsx b/client/my-sites/activity/filterbar/action-type-selector.jsx index 7f1ad7bcc8e36..4234658d12aad 100644 --- a/client/my-sites/activity/filterbar/action-type-selector.jsx +++ b/client/my-sites/activity/filterbar/action-type-selector.jsx @@ -280,7 +280,4 @@ const mapDispatchToProps = dispatch => ( { }, } ); -export default connect( - mapStateToProps, - mapDispatchToProps -)( localize( ActionTypeSelector ) ); +export default connect( mapStateToProps, mapDispatchToProps )( localize( ActionTypeSelector ) ); diff --git a/client/my-sites/activity/filterbar/date-range-selector.jsx b/client/my-sites/activity/filterbar/date-range-selector.jsx index b85975589143b..3866e4711125e 100644 --- a/client/my-sites/activity/filterbar/date-range-selector.jsx +++ b/client/my-sites/activity/filterbar/date-range-selector.jsx @@ -321,10 +321,7 @@ const mapDispatchToProps = dispatch => ( { } ); export default compose( - connect( - null, - mapDispatchToProps - ), + connect( null, mapDispatchToProps ), localize, withLocalizedMoment )( DateRangeSelector ); diff --git a/client/my-sites/activity/filterbar/index.jsx b/client/my-sites/activity/filterbar/index.jsx index d6bdb5e3e2f41..a5c1a790b36ba 100644 --- a/client/my-sites/activity/filterbar/index.jsx +++ b/client/my-sites/activity/filterbar/index.jsx @@ -165,7 +165,4 @@ const mapDispatchToProps = dispatch => ( { ), } ); -export default connect( - mapStateToProps, - mapDispatchToProps -)( localize( Filterbar ) ); +export default connect( mapStateToProps, mapDispatchToProps )( localize( Filterbar ) ); diff --git a/client/my-sites/checklist/share.jsx b/client/my-sites/checklist/share.jsx index d87accdfa05c6..e57966b30f273 100644 --- a/client/my-sites/checklist/share.jsx +++ b/client/my-sites/checklist/share.jsx @@ -59,7 +59,4 @@ class ChecklistShowShare extends PureComponent { ); } } -export default connect( - null, - { recordTracksEvent } -)( ChecklistShowShare ); +export default connect( null, { recordTracksEvent } )( ChecklistShowShare ); diff --git a/client/my-sites/checklist/wpcom-checklist/checklist-banner/index.jsx b/client/my-sites/checklist/wpcom-checklist/checklist-banner/index.jsx index 53395e3f079ed..a76f0fe3ca0f8 100644 --- a/client/my-sites/checklist/wpcom-checklist/checklist-banner/index.jsx +++ b/client/my-sites/checklist/wpcom-checklist/checklist-banner/index.jsx @@ -145,7 +145,4 @@ const mapDispatchToProps = { track: recordTracksEvent, }; -export default connect( - mapStateToProps, - mapDispatchToProps -)( localize( ChecklistBanner ) ); +export default connect( mapStateToProps, mapDispatchToProps )( localize( ChecklistBanner ) ); diff --git a/client/my-sites/checklist/wpcom-checklist/checklist-onboarding-welcome/index.jsx b/client/my-sites/checklist/wpcom-checklist/checklist-onboarding-welcome/index.jsx index 99bcf1f7ded56..3bdec5582132b 100644 --- a/client/my-sites/checklist/wpcom-checklist/checklist-onboarding-welcome/index.jsx +++ b/client/my-sites/checklist/wpcom-checklist/checklist-onboarding-welcome/index.jsx @@ -78,7 +78,7 @@ class ChecklistOnboardingWelcome extends Component {
{ lines.map( ( line, index ) => { return { line }; - } ) }{' '} + } ) }{ ' ' }
); }; diff --git a/client/my-sites/checkout/checkout/recent-renewals.jsx b/client/my-sites/checkout/checkout/recent-renewals.jsx index 5a6371054ed58..f0ae480bb5d7b 100644 --- a/client/my-sites/checkout/checkout/recent-renewals.jsx +++ b/client/my-sites/checkout/checkout/recent-renewals.jsx @@ -18,7 +18,7 @@ function RecentRenewalListItem( { domain, productName, expiryMoment, translate } return ( expiryMoment && (
{ receiptId
diff --git a/client/my-sites/checkout/upsell-nudge/concierge-support-session/index.jsx b/client/my-sites/checkout/upsell-nudge/concierge-support-session/index.jsx
index e9f8b51321c9f..c210c88d73d5a 100644
--- a/client/my-sites/checkout/upsell-nudge/concierge-support-session/index.jsx
+++ b/client/my-sites/checkout/upsell-nudge/concierge-support-session/index.jsx
@@ -181,7 +181,7 @@ export class ConciergeSupportSession extends PureComponent {
},
}
) }
- {' '}
+ { ' ' }
{ translate(
'Click the button below to confirm your purchase (sessions are currently limited to English language support).'
) }
diff --git a/client/my-sites/comment/comment-delete-warning.jsx b/client/my-sites/comment/comment-delete-warning.jsx
index 4c89e44f6de2c..960bc90037093 100644
--- a/client/my-sites/comment/comment-delete-warning.jsx
+++ b/client/my-sites/comment/comment-delete-warning.jsx
@@ -68,7 +68,4 @@ const mapDispatchToProps = ( dispatch, { siteId, postId, commentId, redirectToPo
},
} );
-export default connect(
- mapStateToProps,
- mapDispatchToProps
-)( localize( CommentDeleteWarning ) );
+export default connect( mapStateToProps, mapDispatchToProps )( localize( CommentDeleteWarning ) );
diff --git a/client/my-sites/comments/comment-list/comment-list-header.jsx b/client/my-sites/comments/comment-list/comment-list-header.jsx
index 9d652c4696373..46602b23e86da 100644
--- a/client/my-sites/comments/comment-list/comment-list-header.jsx
+++ b/client/my-sites/comments/comment-list/comment-list-header.jsx
@@ -116,7 +116,4 @@ const mapDispatchToProps = dispatch => ( {
),
} );
-export default connect(
- mapStateToProps,
- mapDispatchToProps
-)( localize( CommentListHeader ) );
+export default connect( mapStateToProps, mapDispatchToProps )( localize( CommentListHeader ) );
diff --git a/client/my-sites/comments/comment-list/index.jsx b/client/my-sites/comments/comment-list/index.jsx
index 18cc3a3c8a47a..d85b02c8ebaa1 100644
--- a/client/my-sites/comments/comment-list/index.jsx
+++ b/client/my-sites/comments/comment-list/index.jsx
@@ -262,7 +262,4 @@ const mapDispatchToProps = dispatch => ( {
),
} );
-export default connect(
- mapStateToProps,
- mapDispatchToProps
-)( localize( CommentList ) );
+export default connect( mapStateToProps, mapDispatchToProps )( localize( CommentList ) );
diff --git a/client/my-sites/comments/comment-tree/index.jsx b/client/my-sites/comments/comment-tree/index.jsx
index 763312d498e5f..15a3f34ce0a08 100644
--- a/client/my-sites/comments/comment-tree/index.jsx
+++ b/client/my-sites/comments/comment-tree/index.jsx
@@ -279,7 +279,4 @@ const mapDispatchToProps = dispatch => ( {
),
} );
-export default connect(
- mapStateToProps,
- mapDispatchToProps
-)( localize( CommentTree ) );
+export default connect( mapStateToProps, mapDispatchToProps )( localize( CommentTree ) );
diff --git a/client/my-sites/comments/comment/comment-actions.jsx b/client/my-sites/comments/comment/comment-actions.jsx
index e205a7acc95a3..cf15d54110f48 100644
--- a/client/my-sites/comments/comment/comment-actions.jsx
+++ b/client/my-sites/comments/comment/comment-actions.jsx
@@ -338,7 +338,4 @@ const mapDispatchToProps = ( dispatch, { siteId, postId, commentId, commentsList
),
} );
-export default connect(
- mapStateToProps,
- mapDispatchToProps
-)( localize( CommentActions ) );
+export default connect( mapStateToProps, mapDispatchToProps )( localize( CommentActions ) );
diff --git a/client/my-sites/comments/comment/comment-author-more-info.jsx b/client/my-sites/comments/comment/comment-author-more-info.jsx
index cb4a8cdbb77bd..fdc8f7c2973f4 100644
--- a/client/my-sites/comments/comment/comment-author-more-info.jsx
+++ b/client/my-sites/comments/comment/comment-author-more-info.jsx
@@ -254,7 +254,4 @@ const mapDispatchToProps = dispatch => ( {
),
} );
-export default connect(
- mapStateToProps,
- mapDispatchToProps
-)( localize( CommentAuthorMoreInfo ) );
+export default connect( mapStateToProps, mapDispatchToProps )( localize( CommentAuthorMoreInfo ) );
diff --git a/client/my-sites/comments/comment/comment-edit.jsx b/client/my-sites/comments/comment/comment-edit.jsx
index 4fdc146424bfd..da73821e9550c 100644
--- a/client/my-sites/comments/comment/comment-edit.jsx
+++ b/client/my-sites/comments/comment/comment-edit.jsx
@@ -283,7 +283,4 @@ const mapDispatchToProps = ( dispatch, { commentId } ) => ( {
successNotice: ( text, options ) => dispatch( successNotice( text, options ) ),
} );
-export default connect(
- mapStateToProps,
- mapDispatchToProps
-)( localize( CommentEdit ) );
+export default connect( mapStateToProps, mapDispatchToProps )( localize( CommentEdit ) );
diff --git a/client/my-sites/comments/comment/comment-link.jsx b/client/my-sites/comments/comment/comment-link.jsx
index bb1f8ab2a29b4..4454a01442cc9 100644
--- a/client/my-sites/comments/comment/comment-link.jsx
+++ b/client/my-sites/comments/comment/comment-link.jsx
@@ -55,7 +55,4 @@ export class CommentLink extends PureComponent {
const mapDispatchToProps = { navigate };
-export default connect(
- null,
- mapDispatchToProps
-)( CommentLink );
+export default connect( null, mapDispatchToProps )( CommentLink );
diff --git a/client/my-sites/comments/comment/comment-reply.jsx b/client/my-sites/comments/comment/comment-reply.jsx
index bb12e375c1da7..f0751b136393d 100644
--- a/client/my-sites/comments/comment/comment-reply.jsx
+++ b/client/my-sites/comments/comment/comment-reply.jsx
@@ -228,7 +228,4 @@ const mapDispatchToProps = ( dispatch, { commentId, commentsListQuery } ) => ( {
successNotice: ( text, options ) => dispatch( successNotice( text, options ) ),
} );
-export default connect(
- mapStateToProps,
- mapDispatchToProps
-)( localize( CommentReply ) );
+export default connect( mapStateToProps, mapDispatchToProps )( localize( CommentReply ) );
diff --git a/client/my-sites/comments/main.jsx b/client/my-sites/comments/main.jsx
index a1e4e623509a4..d25e78be909d3 100644
--- a/client/my-sites/comments/main.jsx
+++ b/client/my-sites/comments/main.jsx
@@ -173,7 +173,4 @@ const mapDispatchToProps = {
infoNotice,
};
-export default connect(
- mapStateToProps,
- mapDispatchToProps
-)( localize( CommentsManagement ) );
+export default connect( mapStateToProps, mapDispatchToProps )( localize( CommentsManagement ) );
diff --git a/client/my-sites/current-site/domain-to-paid-plan-notice.jsx b/client/my-sites/current-site/domain-to-paid-plan-notice.jsx
index 785cd32615270..1366d62082e84 100644
--- a/client/my-sites/current-site/domain-to-paid-plan-notice.jsx
+++ b/client/my-sites/current-site/domain-to-paid-plan-notice.jsx
@@ -72,7 +72,4 @@ const mapStateToProps = state => {
};
const mapDispatchToProps = null;
-export default connect(
- mapStateToProps,
- mapDispatchToProps
-)( localize( DomainToPaidPlanNotice ) );
+export default connect( mapStateToProps, mapDispatchToProps )( localize( DomainToPaidPlanNotice ) );
diff --git a/client/my-sites/current-site/sidebar-banner/index.jsx b/client/my-sites/current-site/sidebar-banner/index.jsx
index 28adf6f4fcf30..9850e54ec30a3 100644
--- a/client/my-sites/current-site/sidebar-banner/index.jsx
+++ b/client/my-sites/current-site/sidebar-banner/index.jsx
@@ -73,7 +73,4 @@ export class SidebarBanner extends Component {
const mapStateToProps = null;
const mapDispatchToProps = { track: recordTracksEvent };
-export default connect(
- mapStateToProps,
- mapDispatchToProps
-)( localize( SidebarBanner ) );
+export default connect( mapStateToProps, mapDispatchToProps )( localize( SidebarBanner ) );
diff --git a/client/my-sites/customer-home/main.jsx b/client/my-sites/customer-home/main.jsx
index 401caff3ab698..106f680f60143 100644
--- a/client/my-sites/customer-home/main.jsx
+++ b/client/my-sites/customer-home/main.jsx
@@ -473,8 +473,4 @@ const connectHome = connect(
} )
);
-export default flowRight(
- connectHome,
- localize,
- withTrackingTool( 'HotJar' )
-)( Home );
+export default flowRight( connectHome, localize, withTrackingTool( 'HotJar' ) )( Home );
diff --git a/client/my-sites/domains/components/domain-warnings/index.jsx b/client/my-sites/domains/components/domain-warnings/index.jsx
index afb288c017de1..228db8fa3e57c 100644
--- a/client/my-sites/domains/components/domain-warnings/index.jsx
+++ b/client/my-sites/domains/components/domain-warnings/index.jsx
@@ -230,7 +230,7 @@ export class DomainWarnings extends React.PureComponent {
} else {
children = (
- { text }{' '}
+ { text }{ ' ' }
{ translate( 'Learn more' ) }
@@ -1096,7 +1096,4 @@ export class DomainWarnings extends React.PureComponent {
const mapStateToProps = null;
const mapDispatchToProps = { recordTracksEvent };
-export default connect(
- mapStateToProps,
- mapDispatchToProps
-)( localize( DomainWarnings ) );
+export default connect( mapStateToProps, mapDispatchToProps )( localize( DomainWarnings ) );
diff --git a/client/my-sites/domains/components/domain-warnings/pending-gsuite-tos-notice-dialog.jsx b/client/my-sites/domains/components/domain-warnings/pending-gsuite-tos-notice-dialog.jsx
index de28f8d8ffbd1..7f9b9e7103fe2 100644
--- a/client/my-sites/domains/components/domain-warnings/pending-gsuite-tos-notice-dialog.jsx
+++ b/client/my-sites/domains/components/domain-warnings/pending-gsuite-tos-notice-dialog.jsx
@@ -214,10 +214,7 @@ const trackEvent = ( { domainName, message, section, siteSlug, tracksEvent, user
} )
);
-export default connect(
- null,
- {
- errorNotice,
- trackEvent,
- }
-)( PendingGSuiteTosNoticeDialog );
+export default connect( null, {
+ errorNotice,
+ trackEvent,
+} )( PendingGSuiteTosNoticeDialog );
diff --git a/client/my-sites/domains/components/domain-warnings/pending-gsuite-tos-notice.jsx b/client/my-sites/domains/components/domain-warnings/pending-gsuite-tos-notice.jsx
index 92d9797c37ee4..b7377209e9a1e 100644
--- a/client/my-sites/domains/components/domain-warnings/pending-gsuite-tos-notice.jsx
+++ b/client/my-sites/domains/components/domain-warnings/pending-gsuite-tos-notice.jsx
@@ -231,10 +231,7 @@ const finishSetupNoticeClick = siteSlug =>
} )
);
-export default connect(
- null,
- {
- finishSetupNoticeClick,
- recordShowPendingAccountNotice,
- }
-)( localize( PendingGSuiteTosNotice ) );
+export default connect( null, {
+ finishSetupNoticeClick,
+ recordShowPendingAccountNotice,
+} )( localize( PendingGSuiteTosNotice ) );
diff --git a/client/my-sites/domains/components/form/test/select.js b/client/my-sites/domains/components/form/test/select.js
index c6d156a07e906..9fb4c5108f2c4 100644
--- a/client/my-sites/domains/components/form/test/select.js
+++ b/client/my-sites/domains/components/form/test/select.js
@@ -22,7 +22,10 @@ describe( '', () => {
label: 'Select label',
name: 'select',
onChange: jest.fn(),
- options: [ { label: 'uno', value: 1 }, { label: 'due', value: 2 } ],
+ options: [
+ { label: 'uno', value: 1 },
+ { label: 'due', value: 2 },
+ ],
value: '',
additionalClasses: 'mega-selectzilla',
errorMessage: null,
diff --git a/client/my-sites/domains/domain-management/components/email-verification/index.jsx b/client/my-sites/domains/domain-management/components/email-verification/index.jsx
index 014be70cf0914..d9faf3024b9db 100644
--- a/client/my-sites/domains/domain-management/components/email-verification/index.jsx
+++ b/client/my-sites/domains/domain-management/components/email-verification/index.jsx
@@ -133,7 +133,4 @@ class EmailVerificationCard extends React.Component {
}
}
-export default connect(
- null,
- { errorNotice }
-)( localize( EmailVerificationCard ) );
+export default connect( null, { errorNotice } )( localize( EmailVerificationCard ) );
diff --git a/client/my-sites/domains/domain-management/dns/dns-add-new.jsx b/client/my-sites/domains/domain-management/dns/dns-add-new.jsx
index 5769dd45bdde9..5683e05d4e3fd 100644
--- a/client/my-sites/domains/domain-management/dns/dns-add-new.jsx
+++ b/client/my-sites/domains/domain-management/dns/dns-add-new.jsx
@@ -214,10 +214,7 @@ class DnsAddNew extends React.Component {
}
}
-export default connect(
- null,
- {
- errorNotice,
- successNotice,
- }
-)( localize( DnsAddNew ) );
+export default connect( null, {
+ errorNotice,
+ successNotice,
+} )( localize( DnsAddNew ) );
diff --git a/client/my-sites/domains/domain-management/dns/dns-list.jsx b/client/my-sites/domains/domain-management/dns/dns-list.jsx
index e0808eef8bd43..6eb78b7f1089c 100644
--- a/client/my-sites/domains/domain-management/dns/dns-list.jsx
+++ b/client/my-sites/domains/domain-management/dns/dns-list.jsx
@@ -146,11 +146,8 @@ class DnsList extends React.Component {
}
}
-export default connect(
- null,
- {
- errorNotice,
- removeNotice,
- successNotice,
- }
-)( localize( DnsList ) );
+export default connect( null, {
+ errorNotice,
+ removeNotice,
+ successNotice,
+} )( localize( DnsList ) );
diff --git a/client/my-sites/domains/domain-management/dns/domain-connect-record.jsx b/client/my-sites/domains/domain-management/dns/domain-connect-record.jsx
index 4fa78e9d92b30..207402e3ffc6b 100644
--- a/client/my-sites/domains/domain-management/dns/domain-connect-record.jsx
+++ b/client/my-sites/domains/domain-management/dns/domain-connect-record.jsx
@@ -138,11 +138,8 @@ class DomainConnectRecord extends React.Component {
}
}
-export default connect(
- null,
- {
- errorNotice,
- removeNotice,
- successNotice,
- }
-)( localize( DomainConnectRecord ) );
+export default connect( null, {
+ errorNotice,
+ removeNotice,
+ successNotice,
+} )( localize( DomainConnectRecord ) );
diff --git a/client/my-sites/domains/domain-management/dns/email-provider.jsx b/client/my-sites/domains/domain-management/dns/email-provider.jsx
index 2db23ab23eb0d..8fa9754d165e0 100644
--- a/client/my-sites/domains/domain-management/dns/email-provider.jsx
+++ b/client/my-sites/domains/domain-management/dns/email-provider.jsx
@@ -102,10 +102,7 @@ class EmailProvider extends Component {
}
}
-export default connect(
- null,
- {
- errorNotice,
- successNotice,
- }
-)( localize( EmailProvider ) );
+export default connect( null, {
+ errorNotice,
+ successNotice,
+} )( localize( EmailProvider ) );
diff --git a/client/my-sites/domains/domain-management/edit/card/header/primary-domain-button.jsx b/client/my-sites/domains/domain-management/edit/card/header/primary-domain-button.jsx
index 2b45212a11ad0..dc0b363423046 100644
--- a/client/my-sites/domains/domain-management/edit/card/header/primary-domain-button.jsx
+++ b/client/my-sites/domains/domain-management/edit/card/header/primary-domain-button.jsx
@@ -58,7 +58,4 @@ PrimaryDomainButton.propTypes = {
translate: PropTypes.func.isRequired,
};
-export default connect(
- null,
- { recordMakePrimaryClick }
-)( localize( PrimaryDomainButton ) );
+export default connect( null, { recordMakePrimaryClick } )( localize( PrimaryDomainButton ) );
diff --git a/client/my-sites/domains/domain-management/edit/registered-domain.jsx b/client/my-sites/domains/domain-management/edit/registered-domain.jsx
index d41f3ced068e7..1ecb6741e23e1 100644
--- a/client/my-sites/domains/domain-management/edit/registered-domain.jsx
+++ b/client/my-sites/domains/domain-management/edit/registered-domain.jsx
@@ -208,9 +208,6 @@ const paymentSettingsClick = domain =>
} )
);
-export default connect(
- null,
- {
- paymentSettingsClick,
- }
-)( localize( RegisteredDomain ) );
+export default connect( null, {
+ paymentSettingsClick,
+} )( localize( RegisteredDomain ) );
diff --git a/client/my-sites/domains/domain-management/edit/transfer.jsx b/client/my-sites/domains/domain-management/edit/transfer.jsx
index 5b139859f2223..c72cbf3a7a624 100644
--- a/client/my-sites/domains/domain-management/edit/transfer.jsx
+++ b/client/my-sites/domains/domain-management/edit/transfer.jsx
@@ -179,12 +179,9 @@ const paymentSettingsClick = domain =>
} )
);
-export default connect(
- null,
- {
- errorNotice,
- fetchSiteDomains,
- paymentSettingsClick,
- successNotice,
- }
-)( localize( Transfer ) );
+export default connect( null, {
+ errorNotice,
+ fetchSiteDomains,
+ paymentSettingsClick,
+ successNotice,
+} )( localize( Transfer ) );
diff --git a/client/my-sites/domains/domain-management/name-servers/custom-nameservers-form.jsx b/client/my-sites/domains/domain-management/name-servers/custom-nameservers-form.jsx
index e1ada27fe7724..1c1d68f0b4777 100644
--- a/client/my-sites/domains/domain-management/name-servers/custom-nameservers-form.jsx
+++ b/client/my-sites/domains/domain-management/name-servers/custom-nameservers-form.jsx
@@ -42,7 +42,7 @@ class CustomNameserversForm extends React.PureComponent {
{ translate(
'Your domain must use WordPress.com name servers for your ' +
'WordPress.com site to load & other features to be available.'
- ) }{' '}
+ ) }{ ' ' }
- { translate( 'Not sure what name servers to use?' ) }{' '}
+ { translate( 'Not sure what name servers to use?' ) }{ ' ' }
} )
);
-export default connect(
- null,
- {
- customNameServersLearnMoreClick,
- customNameServersLookUpClick,
- resetToDefaultsClick,
- saveCustomNameServersClick,
- }
-)( localize( CustomNameserversForm ) );
+export default connect( null, {
+ customNameServersLearnMoreClick,
+ customNameServersLookUpClick,
+ resetToDefaultsClick,
+ saveCustomNameServersClick,
+} )( localize( CustomNameserversForm ) );
diff --git a/client/my-sites/domains/domain-management/name-servers/custom-nameservers-row.jsx b/client/my-sites/domains/domain-management/name-servers/custom-nameservers-row.jsx
index 395b6afc9429b..0e99fa744a9e3 100644
--- a/client/my-sites/domains/domain-management/name-servers/custom-nameservers-row.jsx
+++ b/client/my-sites/domains/domain-management/name-servers/custom-nameservers-row.jsx
@@ -98,10 +98,7 @@ const removeNameserversClick = domainName =>
} )
);
-export default connect(
- null,
- {
- customNameserverInputFocus,
- removeNameserversClick,
- }
-)( CustomNameserversRow );
+export default connect( null, {
+ customNameserverInputFocus,
+ removeNameserversClick,
+} )( CustomNameserversRow );
diff --git a/client/my-sites/domains/domain-management/name-servers/index.jsx b/client/my-sites/domains/domain-management/name-servers/index.jsx
index b099835b3f6ea..553c43c56b530 100644
--- a/client/my-sites/domains/domain-management/name-servers/index.jsx
+++ b/client/my-sites/domains/domain-management/name-servers/index.jsx
@@ -256,10 +256,7 @@ class NameServers extends React.Component {
}
}
-export default connect(
- null,
- {
- errorNotice,
- successNotice,
- }
-)( localize( NameServers ) );
+export default connect( null, {
+ errorNotice,
+ successNotice,
+} )( localize( NameServers ) );
diff --git a/client/my-sites/domains/domain-management/name-servers/wpcom-nameservers-toggle.jsx b/client/my-sites/domains/domain-management/name-servers/wpcom-nameservers-toggle.jsx
index b82318f5c2f26..27aa68165c916 100644
--- a/client/my-sites/domains/domain-management/name-servers/wpcom-nameservers-toggle.jsx
+++ b/client/my-sites/domains/domain-management/name-servers/wpcom-nameservers-toggle.jsx
@@ -118,10 +118,7 @@ const wpcomNameServersLearnMoreClick = domainName =>
)
);
-export default connect(
- null,
- {
- wpcomNameServersLearnMoreClick,
- wpcomNameServersToggleButtonClick,
- }
-)( localize( NameserversToggle ) );
+export default connect( null, {
+ wpcomNameServersLearnMoreClick,
+ wpcomNameServersToggleButtonClick,
+} )( localize( NameserversToggle ) );
diff --git a/client/my-sites/domains/domain-management/primary-domain/index.jsx b/client/my-sites/domains/domain-management/primary-domain/index.jsx
index 589f8418a34d9..9f2af9fc36736 100644
--- a/client/my-sites/domains/domain-management/primary-domain/index.jsx
+++ b/client/my-sites/domains/domain-management/primary-domain/index.jsx
@@ -120,7 +120,7 @@ class PrimaryDomain extends React.Component {
'Your primary domain is the address ' +
'visitors will see in their browser ' +
'when visiting your site.'
- ) }{' '}
+ ) }{ ' ' }
{ translate( 'Learn More.' ) }
@@ -179,11 +179,8 @@ const updatePrimaryDomainClick = ( { name, type }, success ) =>
} )
);
-export default connect(
- null,
- {
- setPrimaryDomain,
- cancelClick,
- updatePrimaryDomainClick,
- }
-)( localize( PrimaryDomain ) );
+export default connect( null, {
+ setPrimaryDomain,
+ cancelClick,
+ updatePrimaryDomainClick,
+} )( localize( PrimaryDomain ) );
diff --git a/client/my-sites/domains/domain-management/site-redirect/index.jsx b/client/my-sites/domains/domain-management/site-redirect/index.jsx
index 9c9f4c4420f3f..e7c65b404c303 100644
--- a/client/my-sites/domains/domain-management/site-redirect/index.jsx
+++ b/client/my-sites/domains/domain-management/site-redirect/index.jsx
@@ -216,11 +216,8 @@ const updateSiteRedirectClick = ( domainName, location, success ) =>
} )
);
-export default connect(
- null,
- {
- cancelClick,
- locationFocus,
- updateSiteRedirectClick,
- }
-)( localize( SiteRedirect ) );
+export default connect( null, {
+ cancelClick,
+ locationFocus,
+ updateSiteRedirectClick,
+} )( localize( SiteRedirect ) );
diff --git a/client/my-sites/domains/domain-management/transfer/transfer-out/locked.jsx b/client/my-sites/domains/domain-management/transfer/transfer-out/locked.jsx
index a9bdb234381f8..215ce6a073c59 100644
--- a/client/my-sites/domains/domain-management/transfer/transfer-out/locked.jsx
+++ b/client/my-sites/domains/domain-management/transfer/transfer-out/locked.jsx
@@ -74,7 +74,7 @@ class Locked extends React.Component {
'To transfer your domain, we must unlock it and remove Privacy Protection. ' +
'Your contact information will be publicly available during the transfer period.'
)
- : translate( 'To transfer your domain, we must unlock it.' ) }{' '}
+ : translate( 'To transfer your domain, we must unlock it.' ) }{ ' ' }
{ translate( 'Learn More.' ) }
diff --git a/client/my-sites/domains/domain-management/transfer/transfer-out/unlocked.jsx b/client/my-sites/domains/domain-management/transfer/transfer-out/unlocked.jsx
index 9427a1c641654..b8eb40003f543 100644
--- a/client/my-sites/domains/domain-management/transfer/transfer-out/unlocked.jsx
+++ b/client/my-sites/domains/domain-management/transfer/transfer-out/unlocked.jsx
@@ -216,7 +216,7 @@ class Unlocked extends React.Component {
return (
- { translate( 'The registry for your domain requires a special process for transfers. ' ) }{' '}
+ { translate( 'The registry for your domain requires a special process for transfers. ' ) }{ ' ' }
{ sent
? translate(
'Our Happiness Engineers have been notified about ' +
diff --git a/client/my-sites/domains/domain-search/site-redirect-step.jsx b/client/my-sites/domains/domain-search/site-redirect-step.jsx
index fbf9f3a972028..5fcd6bb41070a 100644
--- a/client/my-sites/domains/domain-search/site-redirect-step.jsx
+++ b/client/my-sites/domains/domain-search/site-redirect-step.jsx
@@ -185,12 +185,9 @@ const recordFormSubmit = searchBoxValue =>
searchBoxValue
);
-export default connect(
- null,
- {
- errorNotice,
- recordInputFocus,
- recordGoButtonClick,
- recordFormSubmit,
- }
-)( localize( SiteRedirectStep ) );
+export default connect( null, {
+ errorNotice,
+ recordInputFocus,
+ recordGoButtonClick,
+ recordFormSubmit,
+} )( localize( SiteRedirectStep ) );
diff --git a/client/my-sites/domains/map-domain/index.jsx b/client/my-sites/domains/map-domain/index.jsx
index 109f709f33e67..d3c852193f33c 100644
--- a/client/my-sites/domains/map-domain/index.jsx
+++ b/client/my-sites/domains/map-domain/index.jsx
@@ -100,12 +100,10 @@ export class MapDomain extends Component {
// We don't go through the usual checkout process
// Instead, we add the mapping directly
if ( selectedSite.is_vip ) {
- wpcom
- .addVipDomainMapping( selectedSite.ID, domain )
- .then(
- () => page( domainManagementList( selectedSiteSlug ) ),
- error => this.setState( { errorMessage: error.message } )
- );
+ wpcom.addVipDomainMapping( selectedSite.ID, domain ).then(
+ () => page( domainManagementList( selectedSiteSlug ) ),
+ error => this.setState( { errorMessage: error.message } )
+ );
return;
}
diff --git a/client/my-sites/earn/ads/wrapper.jsx b/client/my-sites/earn/ads/wrapper.jsx
index 94c081f5f8415..d7d604a3a43e0 100644
--- a/client/my-sites/earn/ads/wrapper.jsx
+++ b/client/my-sites/earn/ads/wrapper.jsx
@@ -294,8 +294,4 @@ const mergeProps = ( stateProps, dispatchProps, parentProps ) => ( {
...stateProps,
} );
-export default connect(
- mapStateToProps,
- mapDispatchToProps,
- mergeProps
-)( localize( AdsWrapper ) );
+export default connect( mapStateToProps, mapDispatchToProps, mergeProps )( localize( AdsWrapper ) );
diff --git a/client/my-sites/earn/memberships/index.jsx b/client/my-sites/earn/memberships/index.jsx
index fc8b2943d12fa..859e7ad26408b 100644
--- a/client/my-sites/earn/memberships/index.jsx
+++ b/client/my-sites/earn/memberships/index.jsx
@@ -202,9 +202,11 @@ class MembershipsSection extends Component {
{ this.props.translate(
'Start collecting subscription payments! Recurring Payments is a feature inside the block editor. When editing a post or a page you can insert a button that will allow you to collect paying subscribers.'
- ) }{' '}
+ ) }{ ' ' }
- { translate( 'Total posts with comment followers:' ) }{' '}
+ { translate( 'Total posts with comment followers:' ) }{ ' ' }
{ numberFormat( commentFollowersTotal ) }
- { this.props.translate( 'Average comments per month:' ) }{' '}
+ { this.props.translate( 'Average comments per month:' ) }{ ' ' }
{ this.props.numberFormat( data.monthly_comments ) }
- { translate( 'Total WordPress.com Followers' ) }:{' '}
+ { translate( 'Total WordPress.com Followers' ) }:{ ' ' }
{ numberFormat( wpcomData.total_wpcom ) }
- { translate( 'Total Email Followers' ) }:{' '}
+ { translate( 'Total Email Followers' ) }:{ ' ' }
{ numberFormat( emailData.total_email ) }
diff --git a/packages/load-script/src/index.js b/packages/load-script/src/index.js
index 8de7dc90d4c3f..c495c5c8b1ce6 100644
--- a/packages/load-script/src/index.js
+++ b/packages/load-script/src/index.js
@@ -68,7 +68,10 @@ export function loadjQueryDependentScript( url, callback ) {
// if callback is provided, call it on resolution
if ( typeof callback === 'function' ) {
- loadPromise.then( () => callback( null ), error => callback( error ) );
+ loadPromise.then(
+ () => callback( null ),
+ error => callback( error )
+ );
return;
}
diff --git a/packages/load-script/test/callback-handler.js b/packages/load-script/test/callback-handler.js
index 4d236bbf64211..590da0508ae43 100644
--- a/packages/load-script/test/callback-handler.js
+++ b/packages/load-script/test/callback-handler.js
@@ -147,7 +147,10 @@ describe( 'loadScript/callback-handler', () => {
addScriptCallback( url2, callback );
expect( callbacks ).toEqual(
- new Map( [ [ url1, new Set( [ callback ] ) ], [ url2, new Set( [ callback ] ) ] ] )
+ new Map( [
+ [ url1, new Set( [ callback ] ) ],
+ [ url2, new Set( [ callback ] ) ],
+ ] )
);
removeScriptCallbacks( url1 );
diff --git a/packages/tree-select/test/index.js b/packages/tree-select/test/index.js
index 0f677b3a5b14f..9ce6762fdf3f1 100644
--- a/packages/tree-select/test/index.js
+++ b/packages/tree-select/test/index.js
@@ -222,7 +222,10 @@ describe( 'index', () => {
} );
test( 'should memoize a nullish value returned by getDependents', () => {
- const memoizedSelector = treeSelect( () => [ null, undefined ], () => [] );
+ const memoizedSelector = treeSelect(
+ () => [ null, undefined ],
+ () => []
+ );
const state = {};
const firstResult = memoizedSelector( state );
@@ -232,7 +235,10 @@ describe( 'index', () => {
test( 'throws on a non-nullish primitive value returned by getDependents', () => {
[ true, 1, 'a', false, '', 0 ].forEach( primitive => {
- const memoizedSelector = treeSelect( () => [ primitive ], () => [] );
+ const memoizedSelector = treeSelect(
+ () => [ primitive ],
+ () => []
+ );
const state = {};
expect( () => memoizedSelector( state ) ).toThrow();
diff --git a/server/isomorphic-routing/index.js b/server/isomorphic-routing/index.js
index efdb88b652231..737f3fc88ccbf 100644
--- a/server/isomorphic-routing/index.js
+++ b/server/isomorphic-routing/index.js
@@ -92,7 +92,10 @@ function applyMiddlewares( context, expressNext, ...middlewares ) {
}
function compose( ...functions ) {
- return functions.reduceRight( ( composed, f ) => () => f( composed ), () => {} );
+ return functions.reduceRight(
+ ( composed, f ) => () => f( composed ),
+ () => {}
+ );
}
export function getNormalizedPath( pathname, query ) {
{ '
component.