代码拉取完成,页面将自动刷新
disabled_rules: # rule identifiers to exclude from running
# - colon
# - comma
# - control_statement
# - file_length
# - force_cast
# - force_try
# - function_body_length
# - leading_whitespace
# - line_length
- nesting
- large_tuple
- unused_closure_parameter
# - opening_brace
# - operator_whitespace
# - return_arrow_whitespace
# - statement_position
# - todo
# - trailing_newline
# - trailing_semicolon
- trailing_whitespace
# - type_body_length
- type_name
- xctfail_message
- trailing_comma
# - variable_name_max_length
# - variable_name_min_length
# - variable_name
#included: # paths to include during linting. `--path` is ignored if present. takes precendence over `excluded`.
excluded: # paths to ignore during linting. overridden by `included`.
- Carthage
- Pods
- Modules
- Tests/LinuxMain.swift
- Tests/ViewInspectorTests/XCTestManifests.swift
identifier_name:
min_length: 2
file_length:
warning: 500
error: 1000
function_parameter_count:
warning: 6
error: 10
custom_rules:
assert_throws_error:
name: 'API usage'
regex: '(XCTAssertThrowsError)'
match_kinds:
- identifier
message: 'Please use XCTAssertThrows instead of XCTAssertThrowsError'
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。