From 101abc762bded51e37a1a88bd4db49dec5077f3c Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Tue, 12 Sep 2023 17:28:53 -0400 Subject: [PATCH] Add eslint rule for consistent curly brackets --- .eslintrc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.js b/.eslintrc.js index 44fd0a3046..6fdd10c488 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -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 }],