Skip to content

Commit 04605b8

Browse files
committed
chore(package): upgrade prettier to version 1.7.4
1 parent 5d66ca2 commit 04605b8

File tree

3 files changed

+87
-230
lines changed

3 files changed

+87
-230
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"postcss-custom-properties": "^6.1.0",
6767
"postcss-discard-comments": "^4.0.0-rc.2",
6868
"postcss-each": "^0.10.0",
69-
"prettier": "^1.5.3",
69+
"prettier": "^1.7.4",
7070
"react": "^16.0.0",
7171
"react-dom": "^16.0.0",
7272
"react-test-renderer": "^16.0.0",

src/__tests__/internals/DummyComponent.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,13 @@ const makeWrongCode = () => 'wrong'
4747
const DummyComponent = <T>(
4848
React: ReactModuleType,
4949
// eslint-disable-next-line react/prop-types
50-
): DummyReturnType<T> => (props: CustomDummyPropsType<T>): Node =>
50+
): DummyReturnType<T> => (props: CustomDummyPropsType<T>): Node => (
5151
<div className={props.className}>
5252
<span>
5353
{props.text} - {props.code}
5454
</span>
5555
</div>
56+
)
5657

5758
const defaultProps = {
5859
text: 'Some Text',

0 commit comments

Comments
 (0)