mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-28 22:10:31 -04:00
Add JSDoc rule to .eslintrc
This commit is contained in:
parent
912126d655
commit
b7506c75b6
1 changed files with 2 additions and 1 deletions
|
@ -12,7 +12,8 @@
|
|||
"space-before-function-paren": [2, "never"], # Blockly doesn't have space before function paren
|
||||
"strict": [0], # Blockly uses 'use strict' in files
|
||||
"no-cond-assign": [0], # Blockly often uses cond-assignment in loops
|
||||
"no-redeclare": [0] # XXX: should fix
|
||||
"no-redeclare": [0], # XXX: should fix instances of this in Blockly
|
||||
"valid-jsdoc": [2, {"requireReturn": false}]
|
||||
},
|
||||
"env": {
|
||||
"browser": true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue