Permalink
Browse files

Docs: update rule configuration values in examples (#11323)

  • Loading branch information...
kaicataldo authored and ilyavolodin committed Feb 1, 2019
1 parent 0a3c3ff commit fa2f370affa4814dbdda278f9859d0172d4b7aa2
Showing with 4 additions and 4 deletions.
  1. +4 −4 docs/user-guide/configuring.md
@@ -45,7 +45,7 @@ Here's an example `.eslintrc.json` file:
}
},
"rules": {
"semi": 2
"semi": "error"
}
}
```
@@ -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"]
}
}
]

0 comments on commit fa2f370

Please sign in to comment.