aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/.swiftlint.yml
diff options
context:
space:
mode:
authorEric Kuck <eric@bluelinelabs.com>2018-12-12 11:40:57 -0600
committerEric Kuck <eric@bluelinelabs.com>2018-12-12 11:40:57 -0600
commitde14b76b4d99f74d52b6e404b2ab37394fa5b9dc (patch)
tree0d6e1efbf855bb4995b22e6c55ab8ab2f08e8f24 /WireGuard/.swiftlint.yml
parentZip importing: importFromFile should take a completionHandler (diff)
downloadwireguard-apple-de14b76b4d99f74d52b6e404b2ab37394fa5b9dc.tar.xz
wireguard-apple-de14b76b4d99f74d52b6e404b2ab37394fa5b9dc.zip
Added swiftlint and fixed all errors (and a bunch, but not all, warnings)
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
Diffstat (limited to 'WireGuard/.swiftlint.yml')
-rw-r--r--WireGuard/.swiftlint.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/WireGuard/.swiftlint.yml b/WireGuard/.swiftlint.yml
new file mode 100644
index 0000000..b16b6b3
--- /dev/null
+++ b/WireGuard/.swiftlint.yml
@@ -0,0 +1,8 @@
+disabled_rules:
+ - force_cast
+ - line_length
+file_length:
+ warning: 500
+cyclomatic_complexity:
+ warning: 10
+ error: 25