From 2db6d04a43c112c153b0f80d9f8e0794d084203b Mon Sep 17 00:00:00 2001 From: Zoe Ingram Date: Mon, 12 Sep 2016 19:52:05 -0700 Subject: [PATCH] Docs: Fixes examples for allowTemplateLiterals Corrects 'single' example to correlate to single, and "double" example to correlate to double --- docs/rules/quotes.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/rules/quotes.md b/docs/rules/quotes.md index 33be0727cc12..ad6fb863d730 100644 --- a/docs/rules/quotes.md +++ b/docs/rules/quotes.md @@ -134,8 +134,8 @@ Examples of additional **correct** code for this rule with the `"double", { "all ```js /*eslint quotes: ["error", "double", { "allowTemplateLiterals": true }]*/ -var single = 'single'; -var single = `single`; +var double = "double"; +var double = `double`; ``` Examples of additional **correct** code for this rule with the `"single", { "allowTemplateLiterals": true }` options: @@ -143,8 +143,8 @@ Examples of additional **correct** code for this rule with the `"single", { "all ```js /*eslint quotes: ["error", "single", { "allowTemplateLiterals": true }]*/ -var double = "double"; -var double = `double`; +var single = 'single'; +var single = `single`; ``` ## When Not To Use It