chore: fix more lint (#5700)

* chore: fix 918 violations of comma-dangle rule

* chore: fix 2 violations of comma-spacing

* chore: fix 13 violations of padded-blocks

* chore: fix 50 violations of block-spacing

* chore: fix one violation of semi-spacing

* chore: fix 4 violations of space-before-blocks

* chore: fix 38 violations of object-curly-spacing

* chore: fix 30 violations of key-spacing

* chore: fix 3 violations of quote-props

* chore: fix 5 violations of arrow-parens

* chore: fix 8 violations of no-tabs

* chore: allow uncommented helper functions in mocha tests

* chore: fix several more lint errors

* chore: tweak eslint configuration in core and tests

* chore: rebuild for tests
This commit is contained in:
Rachel Fenichel
2021-11-10 10:18:36 -08:00
committed by GitHub
parent 82fde60fe6
commit d11cc047a4
54 changed files with 1027 additions and 1009 deletions

View File

@@ -20,27 +20,27 @@ suite('Cursor', function() {
{
"type": "field_input",
"name": "NAME",
"text": "default"
"text": "default",
},
{
"type": "field_input",
"name": "NAME",
"text": "default"
"text": "default",
},
{
"type": "input_value",
"name": "NAME"
"name": "NAME",
},
{
"type": "input_statement",
"name": "NAME"
}
"name": "NAME",
},
],
"previousStatement": null,
"nextStatement": null,
"colour": 230,
"tooltip": "",
"helpUrl": ""
"helpUrl": "",
},
{
"type": "field_input",
@@ -49,14 +49,14 @@ suite('Cursor', function() {
{
"type": "field_input",
"name": "NAME",
"text": "default"
}
"text": "default",
},
],
"output": null,
"colour": 230,
"tooltip": "",
"helpUrl": ""
}
"helpUrl": "",
},
]);
this.workspace = Blockly.inject('blocklyDiv', {});
this.cursor = this.workspace.getCursor();
@@ -75,7 +75,7 @@ suite('Cursor', function() {
B: blockB,
C: blockC,
D: blockD,
E: blockE
E: blockE,
};
});
teardown(function() {