Skip to content

Commit

Permalink
Merge pull request #3712 from domharrington/patch-1
Browse files Browse the repository at this point in the history
Docs: Fix spelling mistake
  • Loading branch information
ilyavolodin committed Sep 9, 2015
2 parents ff1668b + 70a7530 commit c32fc2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/one-var.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ function foo() {
}
```

If you are configuring the rule with an object, by default, if you didn't specify declaration type it will not be checked. So the following patten is not considered warning when options are set to: `{ var: "always", let: "always" }`
If you are configuring the rule with an object, by default, if you didn't specify declaration type it will not be checked. So the following pattern is not considered a warning when options are set to: `{ var: "always", let: "always" }`

```js
/*eslint one-var: [2, { var: "always", let: "always" }]*/
Expand Down

0 comments on commit c32fc2c

Please sign in to comment.