Add eslint rule for consistent curly brackets

This commit is contained in:
Bill Thornton 2023-09-12 17:28:53 -04:00
parent 74920c9f96
commit 101abc762b

View file

@ -30,6 +30,7 @@ module.exports = {
'brace-style': ['error', '1tbs', { 'allowSingleLine': true }],
'comma-dangle': ['error', 'never'],
'comma-spacing': ['error'],
'curly': ['error', 'multi-line', 'consistent'],
'default-case-last': ['error'],
'eol-last': ['error'],
'indent': ['error', 4, { 'SwitchCase': 1 }],