From da9b59c1a3152d66156a25b303b9bfebef0fd4d8 Mon Sep 17 00:00:00 2001 From: Greenlamp Date: Wed, 22 May 2024 00:41:35 +0200 Subject: [PATCH] updated eslint config --- .eslintrc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index 61881309c6b..34d3874ee3d 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -7,7 +7,7 @@ "rules": { // General rules that apply to all files "eqeqeq": ["error", "always"], // Enforces the use of === and !== instead of == and != - "curly": ["error", "all"], // Requires curly braces for all control statements + "curly": [2, "multi-line"], // Enforce curly braces for multi-line control statements "indent": ["error", 2], // Enforces a 2-space indentation "quotes": ["error", "single"], // Enforces the use of single quotes for strings "semi": ["error", "always"], // Requires semicolons at the end of statements