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
+1 -1
View File
@@ -128,7 +128,7 @@ export default tseslint.config(
'no-fallthrough': 'off',
'prefer-spread': 'off',
'object-curly-spacing': ['warn', 'always'],
'brace-style': ['warn', '1tbs', { allowSingleLine: true }],
'brace-style': ['warn', '1tbs', { allowSingleLine: false }],
'prefer-const': 'warn',
'spaced-comment': ['warn', 'always', { markers: ['/'], exceptions: ['-'] }]
}