aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/.swiftlint.yml
diff options
context:
space:
mode:
authorEric Kuck <eric@bluelinelabs.com>2018-12-20 11:22:37 -0600
committerEric Kuck <eric@bluelinelabs.com>2018-12-20 11:22:37 -0600
commita89ad959016c394c3b30b30598bf9ebff2ad1911 (patch)
tree03d72cef3084a90d20cdd8e6c371c2c58206d2c4 /WireGuard/.swiftlint.yml
parentAdded a String->[String] helper (diff)
downloadwireguard-apple-a89ad959016c394c3b30b30598bf9ebff2ad1911.tar.xz
wireguard-apple-a89ad959016c394c3b30b30598bf9ebff2ad1911.zip
Enabled more swiftlint rules
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
Diffstat (limited to 'WireGuard/.swiftlint.yml')
-rw-r--r--WireGuard/.swiftlint.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/WireGuard/.swiftlint.yml b/WireGuard/.swiftlint.yml
index f0a450f1..93c7ab37 100644
--- a/WireGuard/.swiftlint.yml
+++ b/WireGuard/.swiftlint.yml
@@ -3,7 +3,17 @@ disabled_rules:
- trailing_whitespace
- todo
opt_in_rules:
+ - empty_count
+ - empty_string
+ - implicitly_unwrapped_optional
+ - legacy_random
+ - let_var_whitespace
+ - literal_expression_end_indentation
+ - override_in_extension
+ - redundant_type_annotation
+ - toggle_bool
- unneeded_parentheses_in_closure_argument
+ - unused_import
# - trailing_closure
file_length:
warning: 500