mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-06-26 12:10:22 -04:00
Require spaces around infix ops
This commit is contained in:
parent
0477aaa257
commit
efcb456424
8 changed files with 509 additions and 508 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue