Skip to content

Commit

Permalink
change rule for function params count up to 6 when warning
Browse files Browse the repository at this point in the history
  • Loading branch information
wangzhizhou committed Nov 25, 2023
1 parent 138c080 commit 08ba3a1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,4 @@ fastlane/test_output
iOSInjectionProject/
.DS_Store
.swiftpm/
.vscode/
16 changes: 8 additions & 8 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/krzyzanowskim/CryptoSwift.git",
"state" : {
"revision" : "eee9ad754926c40a0f7e73f152357d37b119b7fa",
"version" : "1.7.1"
"revision" : "db51c407d3be4a051484a141bf0bff36c43d3b1e",
"version" : "1.8.0"
}
},
{
Expand All @@ -41,17 +41,17 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-syntax.git",
"state" : {
"revision" : "27cd6190ce0628847a3f8050794d6e627ad79c08",
"version" : "509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-05-02-a"
"revision" : "6ad4ea24b01559dde0773e3d091f1b9e36175036",
"version" : "509.0.2"
}
},
{
"identity" : "swiftlint",
"kind" : "remoteSourceControl",
"location" : "https://github.com/realm/SwiftLint.git",
"state" : {
"revision" : "34f5ffa7f706ed2dfe11bd300e5197e8878e3856",
"version" : "0.52.2"
"revision" : "f17a4f9dfb6a6afb0408426354e4180daaf49cee",
"version" : "0.54.0"
}
},
{
Expand All @@ -77,8 +77,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/jpsim/Yams.git",
"state" : {
"revision" : "f47ba4838c30dbd59998a4e4c87ab620ff959e8a",
"version" : "5.0.5"
"revision" : "0d9ee7ea8c4ebd4a489ad7a73d5c6cad55d6fed3",
"version" : "5.0.6"
}
}
],
Expand Down
4 changes: 4 additions & 0 deletions Plugins/OrzSwiftLintBuildToolPlugin/OrzSwiftLintConfig.swift
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,9 @@ type_name:
file_length:
ignore_comment_only_lines: true
function_parameter_count:
warning: 6
"""
}

0 comments on commit 08ba3a1

Please sign in to comment.