Add syntax highlight to example in README
parent
3f949907a0
commit
e75f79a755
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue