Update .swiftlint.yml
This commit is contained in:
parent
d1a2eddf47
commit
84f9709399
@ -2,6 +2,7 @@ disabled_rules:
|
|||||||
- identifier_name
|
- identifier_name
|
||||||
- trailing_comma
|
- trailing_comma
|
||||||
- todo
|
- todo
|
||||||
|
- type_body_length
|
||||||
opt_in_rules: # some rules are turned off by default, so you need to opt-in
|
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`
|
- empty_count # Find all the available rules by running: `swiftlint rules`
|
||||||
|
|
||||||
@ -10,8 +11,6 @@ excluded: # paths to ignore during linting. Takes precedence over `included`.
|
|||||||
|
|
||||||
# Adjust rule numbers
|
# Adjust rule numbers
|
||||||
line_length: 160
|
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 type (xcode, json, csv, checkstyle, codeclimate, junit, html, emoji, sonarqube, markdown, github-actions-logging)
|
||||||
reporter: "xcode"
|
reporter: "xcode"
|
||||||
|
Loading…
Reference in New Issue
Block a user