diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-02-08 17:05:58 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-02-08 17:07:28 +0100 |
commit | 0e2556544e617088d830dfb6d5ca53164a0d4c7c (patch) | |
tree | c79567fa3bb9e13f198982e0b55519c69f53e4b5 /WireGuard/.swiftlint.yml | |
parent | wireguard-go-bridge: get rid of nopie warning (diff) | |
download | wireguard-apple-0e2556544e617088d830dfb6d5ca53164a0d4c7c.tar.xz wireguard-apple-0e2556544e617088d830dfb6d5ca53164a0d4c7c.zip |
Global: fix swiftlint issues
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'WireGuard/.swiftlint.yml')
-rw-r--r-- | WireGuard/.swiftlint.yml | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/WireGuard/.swiftlint.yml b/WireGuard/.swiftlint.yml index 5c66629..89c64f5 100644 --- a/WireGuard/.swiftlint.yml +++ b/WireGuard/.swiftlint.yml @@ -2,6 +2,11 @@ disabled_rules: - line_length - trailing_whitespace - todo + - cyclomatic_complexity + - file_length + - type_body_length + - function_body_length + - nesting opt_in_rules: - empty_count - empty_string @@ -14,14 +19,7 @@ opt_in_rules: - toggle_bool - unneeded_parentheses_in_closure_argument - unused_import -# - trailing_closure -file_length: - warning: 500 -cyclomatic_complexity: - warning: 10 - error: 25 -function_body_length: - warning: 45 + - trailing_closure variable_name: min_length: warning: 0 |