Merge pull request #1 from igorkislyuk/master

Fix error when regex finds other regex
This commit is contained in:
Nikolai Ashanin 2017-05-04 14:25:21 +03:00 committed by GitHub
commit 4d5937aa8e
1 changed files with 1 additions and 1 deletions

View File

@ -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