Skip to content

Commit 3e8eae0

Browse files
authored
Merge pull request #2614 from StoDevX/greenkeeper/prettier-1.13.0
Update prettier to the latest version πŸš€
2 parents fb8f6e4 + c798e93 commit 3e8eae0

File tree

13 files changed

+42
-23
lines changed

13 files changed

+42
-23
lines changed

β€Žpackage.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
"minimist": "1.2.0",
154154
"mkdirp": "0.5.1",
155155
"pify": "3.0.0",
156-
"prettier": "1.12.1",
156+
"prettier": "1.13.4",
157157
"pretty-bytes": "5.0.0",
158158
"pretty-quick": "1.6.0",
159159
"prop-types": "15.6.1",

β€Žsource/views/building-hours/detail/toolbar-button.jsβ€Ž

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ function mapDispatch(dispatch): ReduxDispatchProps {
4444
}
4545
}
4646

47-
export const ConnectedBuildingFavoriteButton = connect(mapState, mapDispatch)(
48-
BuildingFavoriteButton,
49-
)
47+
export const ConnectedBuildingFavoriteButton = connect(
48+
mapState,
49+
mapDispatch,
50+
)(BuildingFavoriteButton)

β€Žsource/views/dictionary/list.jsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export class DictionaryView extends React.PureComponent<Props, State> {
150150
cell={this.renderRow}
151151
cellHeight={
152152
ROW_HEIGHT +
153-
(Platform.OS === 'ios' ? 11 / 12 * StyleSheet.hairlineWidth : 0)
153+
(Platform.OS === 'ios' ? (11 / 12) * StyleSheet.hairlineWidth : 0)
154154
}
155155
data={groupBy(results, item => item.word[0])}
156156
onSearch={this.performSearch}

β€Žsource/views/help/index.jsβ€Ž

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,10 @@ function mapDispatch(dispatch): ReduxDispatchProps {
7979
}
8080
}
8181

82-
export default connect(mapState, mapDispatch)(HelpView)
82+
export default connect(
83+
mapState,
84+
mapDispatch,
85+
)(HelpView)
8386

8487
const styles = StyleSheet.create({
8588
container: {

β€Žsource/views/home/edit/list.android.jsβ€Ž

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ function mapDispatch(dispatch): ReduxDispatchProps {
112112
}
113113
}
114114

115-
export const ConnectedEditHomeView = connect(mapState, mapDispatch)(
116-
EditHomeView,
117-
)
115+
export const ConnectedEditHomeView = connect(
116+
mapState,
117+
mapDispatch,
118+
)(EditHomeView)

β€Žsource/views/home/edit/list.ios.jsβ€Ž

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ function mapDispatch(dispatch): ReduxDispatchProps {
9595
}
9696
}
9797

98-
export const ConnectedEditHomeView = connect(mapState, mapDispatch)(
99-
EditHomeView,
100-
)
98+
export const ConnectedEditHomeView = connect(
99+
mapState,
100+
mapDispatch,
101+
)(EditHomeView)

β€Žsource/views/menus/components/fancy-menu.jsβ€Ž

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,4 +210,7 @@ const mapDispatch = (dispatch, actualProps: ReactProps): ReduxDispatchProps => {
210210
}
211211
}
212212

213-
export const ConnectedFancyMenu = connect(mapState, mapDispatch)(FancyMenu)
213+
export const ConnectedFancyMenu = connect(
214+
mapState,
215+
mapDispatch,
216+
)(FancyMenu)

β€Žsource/views/settings/sections/login-credentials.jsβ€Ž

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ function mapDispatchToProps(dispatch): ReduxDispatchProps {
147147
}
148148
}
149149

150-
export default connect(mapStateToProps, mapDispatchToProps)(
151-
CredentialsLoginSection,
152-
)
150+
export default connect(
151+
mapStateToProps,
152+
mapDispatchToProps,
153+
)(CredentialsLoginSection)

β€Žsource/views/settings/sections/odds-and-ends.jsβ€Ž

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,7 @@ function mapDispatchToProps(dispatch) {
9696
}
9797
}
9898

99-
export default connect(mapStateToProps, mapDispatchToProps)(OddsAndEndsSection)
99+
export default connect(
100+
mapStateToProps,
101+
mapDispatchToProps,
102+
)(OddsAndEndsSection)

β€Žsource/views/sis/balances.jsβ€Ž

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,10 @@ function mapDispatch(dispatch): ReduxDispatchProps {
206206
}
207207
}
208208

209-
export default connect(mapState, mapDispatch)(BalancesView)
209+
export default connect(
210+
mapState,
211+
mapDispatch,
212+
)(BalancesView)
210213

211214
let cellMargin = 10
212215
let cellSidePadding = 10

0 commit comments

Comments
Β (0)