-
Notifications
You must be signed in to change notification settings - Fork 465
Add SwiftLinter #524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add SwiftLinter #524
Conversation
Cleanup code related to mnemonic wallet creation
Improve RandomBytes by removing unsafe data and remove optional return. added ability to return list as array
cleanup for creating the PR
-- redundant_discardable_let - redundant_objc_attribute - redundant_optional_initialization - redundant_set_access_control - redundant_string_enum_value - redundant_void_return
Couple of things. first we already have a |
we use a lot of empty enum arguments so kept disabled
we use the old block kvo we have some protocols with delegate in the name
the .swiftlint.yml file I currently have in here is for in place cleanup. When I open this PR (no longer draft) I will remove my working copy and update the project one |
I see, okay. That's fine then. Thank you for removing the 3 redundant PR's from yesterday, but 2 more popped up today. Please update your process, so you are not generating new PR's on what is really just work against PR. The PR will automatically track any commits made to the branch you created it from ( |
took the rules from the lib .swiftlint.yml added some additional rules
operator spacing redundant type switch case
remove Force unwrap in ABI
Please close the pr and merge changes made here into #515 |
Copy paste recent comment of @mloit here:
|
64e9208
to
b57716d
Compare
add Swift Linter in a Xcodeproj file to start cleaning up each rule
disabled all default rules to re-add one by one
other changes in here from Async work, PR will simplify when other PR is merged