代码拉取完成,页面将自动刷新
disabled_rules: # rule identifiers to exclude from running
- control_statement
- trailing_whitespace
- nesting
- type_name
opt_in_rules: # some rules are only opt-in
- empty_count
# Find all the available rules by running:
# swiftlint rules
whitelist_rules:
excluded: # paths to ignore during linting. Takes precedence over `included`.
- Carthage
- Pods
- init.swift
force_cast: warning
force_try:
severity: warning # explicitly
identifier_name:
min_length: # only min_length
error: 2 # only error
excluded: # excluded via string array
- id
- URL
- vc
- vm
line_length:
- 230
- 500
type_body_length:
- 300 # warning
- 400 # error
file_length:
- 500 # warning
- 800 # error
large_tuple:
- 3 # warning
- 4 # error
function_parameter_count:
- 6 # warning
- 8 # error
cyclomatic_complexity:
warning: 13
function_body_length:
warning: 60
reporter: "xcode" # reporter type (xcode, json, csv, checkstyle)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。