From 4261005a67a125a3b94ce2cbe36c843c212e117c Mon Sep 17 00:00:00 2001
From: Rauhul Varma <rauhul@apple.com>
Date: Wed, 11 Dec 2024 23:36:37 -0800
Subject: [PATCH] Update .swift-format

Enables a number of rules that are already followed by this code base.
---
 .swift-format | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/.swift-format b/.swift-format
index 41a022f26..eb78c13cc 100644
--- a/.swift-format
+++ b/.swift-format
@@ -1,11 +1,15 @@
 {
-    "version": 1,
-    "lineLength": 120,
+    "fileScopedDeclarationPrivacy" : {
+        "accessLevel" : "private"
+    },
     "indentation": {
         "spaces": 2
     },
-    "lineBreakBeforeEachArgument": true,
     "indentConditionalCompilationBlocks": false,
+    "indentSwitchCaseLabels" : false,
+    "lineBreakBeforeEachArgument": true,
+    "lineLength": 120,
+    "maximumBlankLines" : 1,
     "prioritizeKeepingFunctionOutputTogether": true,
     "rules": {
         "AlwaysUseLowerCamelCase": false,
@@ -14,5 +18,7 @@
         "OrderedImports": true,
         "UseLetInEveryBoundCaseVariable": false,
         "UseSynthesizedInitializer": false
-    }
+    },
+    "tabWidth" : 2,
+    "version": 1
 }