Add syntax highlight to example in README

master
azu 2017-01-11 09:26:35 +09:00 committed by GitHub
parent 3f949907a0
commit e75f79a755
1 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ foo(reallyLongArg(), omgSoManyParameters(), IShouldRefactorThis(), isThereSeriou
Suddenly our previous format for calling function breaks down because
this is too long. What you would probably do is this instead:
```
```js
foo(
reallyLongArg(),
omgSoManyParameters(),
@ -201,4 +201,4 @@ a few notes if you are interested in contributing:
run `jest -u` to update the snapshots and I see them in the PR, that's fine.
* You can run `AST_COMPARE=1 jest` for a more robust test run. That
formats each file, re-parses it, and compares the new AST with the
original one and makes sure they are semantically equivalent.
original one and makes sure they are semantically equivalent.