Skip to content

Commit

Permalink
Docs: Add missing brackets from code examples (#6700)
Browse files Browse the repository at this point in the history
  • Loading branch information
preco21 authored and ilyavolodin committed Jul 18, 2016
1 parent 124f066 commit 57f1676
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/rules/spaced-comment.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ The following patterns are considered problems:
```

```js
/* eslint spaced-comment: ["error", "always", { "block": "balanced": true }] */
/* eslint spaced-comment: ["error", "always", { "block": { "balanced": true } }] */
/* This is a comment with whitespace at the beginning but not the end*/
```

Expand Down Expand Up @@ -121,7 +121,7 @@ The following patterns are considered problems:
```

```js
/*eslint spaced-comment: ["error", "never", { "block": "balanced": true }]*/
/*eslint spaced-comment: ["error", "never", { "block": { "balanced": true } }]*/
/*This is a comment with whitespace at the end */
```

Expand Down Expand Up @@ -234,12 +234,12 @@ The following patterns are considered problems:
```

```js
/*eslint spaced-comment: ["error", "always", { "block": "markers": ["!"], "balanced": true }]*/
/*eslint spaced-comment: ["error", "always", { "block": { "markers": ["!"], "balanced": true } }]*/
/*! This is a comment with a marker but without whitespace at the end*/
```

```js
/*eslint spaced-comment: ["error", "never", { "block": "markers": ["!"], "balanced": true }]*/
/*eslint spaced-comment: ["error", "never", { "block": { "markers": ["!"], "balanced": true } }]*/
/*!This is a comment with a marker but with whitespace at the end */
```

Expand Down

0 comments on commit 57f1676

Please sign in to comment.