Skip to content

Commit

Permalink
include swiftlint template
Browse files Browse the repository at this point in the history
  • Loading branch information
dabear committed Apr 5, 2022
1 parent b3e0295 commit d19225a
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
disabled_rules: # rule identifiers to exclude from running
- trailing_whitespace
- identifier_name
- empty_count
- colon
opt_in_rules:
- empty_count
- empty_string
excluded:
- Carthage
- Pods
- SwiftLint/Common/3rdPartyLib
line_length:
warning: 230
error: 250
ignores_function_declarations: true
ignores_comments: true
ignores_urls: true
function_body_length:
warning: 300
error: 500
function_parameter_count:
warning: 6
error: 8
type_body_length:
warning: 300
error: 500
file_length:
warning: 1000
error: 1500
ignore_comment_only_lines: true
cyclomatic_complexity:
warning: 15
error: 25
reporter: "xcode"

0 comments on commit d19225a

Please sign in to comment.