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