aboutsummaryrefslogtreecommitdiffstats
path: root/.swiftlint.yml
diff options
context:
space:
mode:
authorJeroen Leenarts <jeroen.leenarts@gmail.com>2018-05-23 21:49:10 +0200
committerJeroen Leenarts <jeroen.leenarts@gmail.com>2018-05-23 21:50:42 +0200
commitae73b78935bf26515eccd1609bcf5bea43cb8451 (patch)
tree031d1a06c3e7d7b25a9b246a95ce04c81b756f56 /.swiftlint.yml
parentInitial commit (diff)
downloadwireguard-apple-ae73b78935bf26515eccd1609bcf5bea43cb8451.tar.xz
wireguard-apple-ae73b78935bf26515eccd1609bcf5bea43cb8451.zip
Initial project setup.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '.swiftlint.yml')
-rw-r--r--.swiftlint.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.swiftlint.yml b/.swiftlint.yml
new file mode 100644
index 00000000..df5ce7dc
--- /dev/null
+++ b/.swiftlint.yml
@@ -0,0 +1,12 @@
+disabled_rules:
+ - line_length
+ - trailing_comma
+excluded:
+ - Pods
+file_length:
+ warning: 500
+type_name:
+ min_length: 2 # only warning
+ max_length: # warning and error
+ warning: 50
+ error: 60