Skip to content

Commit 82aff0b

Browse files
authored
Fixed prettier nullish chaining bug (#120)
In the `@react-native-community/eslint-config` package a quite outdated version of prettier is used which does not support the nullish chaining yet. While adding prettier to the devDependencies, this bug is fixed.
1 parent 5d775c5 commit 82aff0b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

template/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"jest": "^24.9.0",
2828
"metro-react-native-babel-preset": "^0.56.0",
2929
"react-test-renderer": "16.9.0",
30+
"prettier": "^1.19.1",
3031
"typescript": "^3.7.3"
3132
},
3233
"jest": {

0 commit comments

Comments
 (0)