mirror of
https://github.com/google/blockly.git
synced 2026-01-25 17:50:10 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user