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
Rewrite ForceUnwrappingRule
#552
Conversation
This PR depends on #542 |
…les on failing test
That returns array of tupple containing "key.kind" and "byteRange" from Structure that containing the byte offset.
Add capture previous of "!" for: - checking whether SyntaxKinds is comment, string, keyword or type identifier - checking whether character is ")" - checking whether SyntaxKinds is identifier or not - SwiftDeclarationKind is one of some "Var*" and declaration containing "=" Add capture next of "!" for: - checking SyntaxKinds is identifier By applying this, the duration of linting Carthage 0.14 increase from 300ms to 380ms.
bde39b5
to
f62fe10
Compare
Rebased |
Test failed on SPM.
|
|
Thanks @norio-nomura! This looks good to me. |
Thanks for review and merging! 🙏 |
Fix #546, #547
Add capture previous of
!
for:)
Var*
and declaration containing=
Add capture next of
!
for:By applying this, the duration of linting Carthage 0.14 increase from 300ms to 380ms.