From 531c459147e239371d70b248272833e3b2e3c8b4 Mon Sep 17 00:00:00 2001 From: RoboErikG Date: Tue, 6 Feb 2018 13:22:00 -0800 Subject: [PATCH] Update the comment on eslint quotes checks (#1589) We turn quotes checking off in eslint because the JSON blobs in Blockly's files must use double quotes. Everywhere else we prefer single quotes. This updates the comment to make that clearer. --- .eslintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index ff27be4e0..9530b7666 100644 --- a/.eslintrc +++ b/.eslintrc @@ -29,7 +29,7 @@ "no-trailing-spaces": ["error", { "skipBlankLines": true }], "no-unused-vars": ["error", {"args": "after-used", "varsIgnorePattern": "^_"}], "no-use-before-define": ["error"], - "quotes": ["off"], # Blockly mixes single and double quotes + "quotes": ["off"], # Blockly uses single quotes except for JSON blobs, which must use double quotes. "semi": ["error", "always"], "space-before-function-paren": ["error", "never"], # Blockly doesn't have space before function paren "strict": ["off"], # Blockly uses 'use strict' in files