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.
This commit is contained in:
RoboErikG
2018-02-06 13:22:00 -08:00
committed by GitHub
parent f497c70be0
commit 531c459147

View File

@@ -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