added new swiftlint rules

This commit is contained in:
Maxim Sorokin 2020-04-08 20:40:46 +03:00
parent e42fd8f257
commit 882759b6fa
1 changed files with 0 additions and 6 deletions

View File

@ -236,9 +236,3 @@ custom_rules:
regex: "(== true)|(== false)|(!= true)|(!= false)"
message: "Comparing a boolean to true is redundant (use `?? false` for optionals), and `!`-syntax is preferred over comparing to false."
severity: error
closing_brace_vertical_spacing:
name: "Closing Brace Vertical Spacing"
regex: "\\n{2,}\\}"
message: "Closing braces should not be followed by a new line before another closing brace."
severity: error