-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Make joined_default_parameter rule correctable #1757
Comments
@marcelofabri is there any rule for creating regular expressions for correctable rules? Should I build a rule that accepts blank spaces everywhere - e.g. |
In this case, I wouldn't use regexes at all. You already have all needed information from SourceKit: {
"key.namelength": 9,
"key.nameoffset": 12,
"key.length": 13,
"key.name": "separator",
"key.bodyoffset": 23,
"key.bodylength": 2,
"key.kind": "source.lang.swift.expr.argument",
"key.offset": 12
} Replacing the range |
as described in realm#1757 and realm#1746.
as described in realm#1757 and realm#1746.
as described in realm#1757 and realm#1746.
as discussed with @marcelofabri #1746.
The text was updated successfully, but these errors were encountered: