diff --git a/.swiftlint.yml b/.swiftlint.yml index d5c9f72..0ebc6f0 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -91,6 +91,6 @@ custom_rules: spaces_around_braces: included: ".*.swift" name: "Spaces around the braces" - regex: '(([A-Za-z0-9])[\{\}])|([\{\}]([A-Za-z0-9]))' + regex: '(([A-Za-z0-9])[\{\}])|([\{\}](\S)([A-Za-z0-9]))' message: "No spaces around the braces" severity: error