Require spaces around infix ops

This commit is contained in:
Rachel Fenichel 2018-06-21 10:03:37 -04:00
parent 0477aaa257
commit efcb456424
8 changed files with 509 additions and 508 deletions

View file

@ -41,6 +41,7 @@
"quotes": ["off"], # Blockly mixes single and double quotes
"semi": ["error", "always"],
"space-before-function-paren": ["error", "never"], # Blockly doesn't have space before function paren
"space-infix-ops": ["error"],
"strict": ["off"], # Blockly uses 'use strict' in files
"no-cond-assign": ["off"], # Blockly often uses cond-assignment in loops
"no-redeclare": ["off"], # Closure style allows redeclarations