Disallow single-line brace-style blocks

Set allowSingleLine to false and expand multi-line braces
across the codebase via eslint --fix.

Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com>
This commit is contained in:
Cursor Agent
2026-05-26 17:07:35 +00:00
co-authored by Daniel Imms
parent 1c42ae9af4
commit 1040b799ce
50 changed files with 1520 additions and 506 deletions
@@ -40,8 +40,12 @@ describe('MouseStateService', () => {
cms.reset();
assert.equal(cms.activeEncoding, 'DEFAULT');
assert.equal(cms.activeProtocol, 'NONE');
assert.throws(() => { cms.activeEncoding = 'xyz'; }, 'unknown encoding "xyz"');
assert.throws(() => { cms.activeProtocol = 'xyz'; }, 'unknown protocol "xyz"');
assert.throws(() => {
cms.activeEncoding = 'xyz';
}, 'unknown encoding "xyz"');
assert.throws(() => {
cms.activeProtocol = 'xyz';
}, 'unknown protocol "xyz"');
});
it('addEncoding', () => {
const cms = new MouseStateService();