Skip to content

Commit

Permalink
Framework: Upgrade ESLint comma-spacing to error (#11427)
Browse files Browse the repository at this point in the history
Remove `comma-spacing` rule
  • Loading branch information
Copons authored Mar 23, 2017
1 parent bb8ba92 commit bbac4bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/components/tinymce/plugins/wpcom-view/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ function wpview( editor ) {
} else if ( cursorAfter ) {
handleEnter( view );
} else if ( cursorBefore ) {
handleEnter( view , true, key );
handleEnter( view, true, key );
}

if ( key === VK.ENTER ) {
Expand Down
6 changes: 3 additions & 3 deletions client/state/sharing/publicize/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,13 @@ export function isFetchingConnection( state, connectionId ) {
}

export function isRequestingSharePost( state, siteId, postId ) {
return get( state.sharing.publicize.sharePostStatus, [ siteId , postId, 'requesting' ], false );
return get( state.sharing.publicize.sharePostStatus, [ siteId, postId, 'requesting' ], false );
}

export function sharePostSuccessMessage( state, siteId, postId ) {
return get( state.sharing.publicize.sharePostStatus, [ siteId , postId, 'success' ], false );
return get( state.sharing.publicize.sharePostStatus, [ siteId, postId, 'success' ], false );
}

export function sharePostFailure( state, siteId, postId ) {
return ( get( state.sharing.publicize.sharePostStatus, [ siteId , postId, 'error' ], false ) === true );
return ( get( state.sharing.publicize.sharePostStatus, [ siteId, postId, 'error' ], false ) === true );
}

0 comments on commit bbac4bb

Please sign in to comment.