1 Star 0 Fork 0

Gemini/ViewInspector

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.swiftlint.yml 1.21 KB
一键复制 编辑 原始数据 按行查看 历史
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'
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Swift
1
https://gitee.com/BitBuilder/ViewInspector.git
git@gitee.com:BitBuilder/ViewInspector.git
BitBuilder
ViewInspector
ViewInspector
master

搜索帮助