style: [skip ci] lint code snippets in md (#5379)

This commit is contained in:
Sven SAULEAU
2017-02-25 18:19:29 +01:00
committed by Henry Zhu
parent 6614a63b3b
commit eb9d699ce9
14 changed files with 77 additions and 38 deletions

View File

@@ -41,13 +41,15 @@ This plugin will use babel's `extends` helper, which will polyfill `Object.assig
* `useBuiltIns` - Do not use Babel's helper's and just transform to use the built-in method (Disabled by default).
```js
```json
{
"plugins": [
["transform-object-rest-spread", { "useBuiltIns": true }]
]
}
```
```js
// source
z = { x, ...y };
// compiled