From 565441150509ea8e6f6a82c748b4b7fb4ded81a4 Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Tue, 23 Feb 2021 12:27:40 +0100 Subject: [PATCH] Create .swiftlint.yml --- ios/.swiftlint.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 ios/.swiftlint.yml diff --git a/ios/.swiftlint.yml b/ios/.swiftlint.yml new file mode 100644 index 0000000..7437806 --- /dev/null +++ b/ios/.swiftlint.yml @@ -0,0 +1,17 @@ +disabled_rules: + - identifier_name + - trailing_comma + - todo +opt_in_rules: # some rules are turned off by default, so you need to opt-in + - empty_count # Find all the available rules by running: `swiftlint rules` + +excluded: # paths to ignore during linting. Takes precedence over `included`. + - Pods + +# Adjust rule numbers +line_length: 160 +cyclomatic_complexity: 16 +function_body_length: 45 + +# reporter type (xcode, json, csv, checkstyle, codeclimate, junit, html, emoji, sonarqube, markdown, github-actions-logging) +reporter: "xcode"