From 4eb6c63b7e6ff9c5823013e70538b57384741880 Mon Sep 17 00:00:00 2001 From: Kai Cataldo Date: Mon, 28 Jan 2019 16:35:41 -0500 Subject: [PATCH] Docs: update rule configuration values in examples --- docs/user-guide/configuring.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/user-guide/configuring.md b/docs/user-guide/configuring.md index 13ec086ae28..6d77e85a74b 100644 --- a/docs/user-guide/configuring.md +++ b/docs/user-guide/configuring.md @@ -45,7 +45,7 @@ Here's an example `.eslintrc.json` file: } }, "rules": { - "semi": 2 + "semi": "error" } } ``` @@ -801,15 +801,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"] } } ]