From f766b786eea71cd1178d26bea170ae4247aa92f8 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Fri, 3 Jan 2025 14:20:00 +0200 Subject: [PATCH] web/eslint: add curly rule --- web/eslint.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/web/eslint.config.js b/web/eslint.config.js index 41ba85f8..40156d59 100644 --- a/web/eslint.config.js +++ b/web/eslint.config.js @@ -73,6 +73,7 @@ export default tseslint.config( "one-var-declaration-per-line": ["error", "initializations"], "quotes": ["error", "double", {allowTemplateLiterals: true}], "semi": ["error", "never"], + "curly": ["error", "all"], "comma-dangle": ["error", "always-multiline"], "max-len": ["error", 120], "space-before-function-paren": ["error", {