Skip to content

Commit 5857016

Browse files
greenkeeper[bot]viddo
authored andcommitted
Update prettier to the latest version 🚀 (#483)
* chore(package): update prettier to version 1.19.0 * npm run prettier-write
1 parent a6fab81 commit 5857016

File tree

12 files changed

+18
-39
lines changed

12 files changed

+18
-39
lines changed

lib/epics/fileReadsEpic.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,7 @@ export default function fileReadsEpic(
107107
filter(Boolean),
108108
take(1)
109109
)
110-
).pipe(
111-
filter(Boolean),
112-
takeUntilDispose(action$)
113-
);
110+
).pipe(filter(Boolean), takeUntilDispose(action$));
114111
}
115112

116113
function readFilesAsObservable(

lib/epics/previewNoteEpic.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,7 @@ export default function previewNoteEpic(
108108
return false;
109109
})
110110
)
111-
).pipe(
112-
takeUntilDispose(action$),
113-
finalize(destroyPreview)
114-
);
111+
).pipe(takeUntilDispose(action$), finalize(destroyPreview));
115112
}
116113

117114
function existsOpenTextEditorForPath(notePath: string) {

lib/react/containers/App.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,6 @@ const mapDispatchToProps = (dispatch: Dispatch<Action>) => {
8383
};
8484
};
8585

86-
const App = connect(
87-
mapStateToProps,
88-
mapDispatchToProps
89-
)(AppContainer);
86+
const App = connect(mapStateToProps, mapDispatchToProps)(AppContainer);
9087

9188
export default App;

lib/react/containers/Cell.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,4 @@ const mapDispatchToProps = (dispatch: Dispatch<Action>) => {
2323
};
2424
};
2525

26-
export default connect(
27-
null,
28-
mapDispatchToProps
29-
)(Cell);
26+
export default connect(null, mapDispatchToProps)(Cell);

lib/react/containers/ResizeHandle.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,4 @@ const mapDispatchToProps = (dispatch: Dispatch<Action>) => {
2222
};
2323
};
2424

25-
export default connect(
26-
mapStateToProps,
27-
mapDispatchToProps
28-
)(ResizeHandle);
25+
export default connect(mapStateToProps, mapDispatchToProps)(ResizeHandle);

lib/react/containers/Row.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,4 @@ const mapDispatchToProps = (dispatch: Dispatch<Action>) => {
1515
};
1616
};
1717

18-
export default connect(
19-
null,
20-
mapDispatchToProps
21-
)(Row);
18+
export default connect(null, mapDispatchToProps)(Row);

lib/react/containers/ScrollableList.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,4 @@ const mapDispatchToProps = (dispatch: Dispatch<Action>) => {
2525
};
2626
};
2727

28-
export default connect(
29-
mapStateToProps,
30-
mapDispatchToProps
31-
)(ScrollableList);
28+
export default connect(mapStateToProps, mapDispatchToProps)(ScrollableList);

lib/react/containers/Search.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,4 @@ const mapDispatchToProps = (dispatch: Dispatch<Action>) => {
4646
};
4747
};
4848

49-
export default connect(
50-
mapStateToProps,
51-
mapDispatchToProps
52-
)(Search);
49+
export default connect(mapStateToProps, mapDispatchToProps)(Search);

lib/react/containers/TableColumn.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,4 @@ const mapDispatchToProps = (dispatch: Dispatch<Action>) => {
3131
};
3232
};
3333

34-
export default connect(
35-
mapStateToProps,
36-
mapDispatchToProps
37-
)(TableColumn);
34+
export default connect(mapStateToProps, mapDispatchToProps)(TableColumn);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"flow-bin": "0.84.0",
8383
"flow-typed": "2.5.2",
8484
"npm-run-all": "^4.1.2",
85-
"prettier": "1.18.2",
85+
"prettier": "1.19.0",
8686
"redux-mock-store": "1.5.3"
8787
},
8888
"greenkeeper": {

0 commit comments

Comments
 (0)