Skip to content

Commit

Permalink
Docs: update rule configuration values in examples (#11323)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaicataldo authored and ilyavolodin committed Feb 1, 2019
1 parent 0a3c3ff commit fa2f370
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/user-guide/configuring.md
Expand Up @@ -45,7 +45,7 @@ Here's an example `.eslintrc.json` file:
}
},
"rules": {
"semi": 2
"semi": "error"
}
}
```
Expand Down Expand Up @@ -816,15 +816,15 @@ In your `.eslintrc.json`:
```json
{
"rules": {
"quotes": [ 2, "double" ]
"quotes": ["error", "double"]
},

"overrides": [
{
"files": [ "bin/*.js", "lib/*.js" ],
"files": ["bin/*.js", "lib/*.js"],
"excludedFiles": "*.test.js",
"rules": {
"quotes": [ 2, "single" ]
"quotes": ["error", "single"]
}
}
]
Expand Down

0 comments on commit fa2f370

Please sign in to comment.