Skip to content

Commit

Permalink
fix(doc): Make examples valid json, formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Radchenko committed Feb 14, 2017
1 parent 1da8b47 commit 1185a83
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ Add `doc-code-blocks` to the plugins section of your `.eslintrc` configuration f

```json
{
"plugins": [
"doc-code-blocks"
]
"plugins": [
"doc-code-blocks"
]
}
```

Expand All @@ -42,16 +42,16 @@ then your code base. This is how you'd do that.

In your `.eslintrc` or equivalent, set something like:

```js
```json
{
plugins: [
"plugins": [
"doc-code-blocks"
],
extends: [
"extends": [
"eslint:recommended",
"plugin:doc-code-blocks/all"
],
rules: {
"rules: {
"doc-code-blocks/quotes": ["error", "single"]
}
}
Expand Down

0 comments on commit 1185a83

Please sign in to comment.