-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 rule to detect duplicate code #682
Comments
Yes, it'd be possible to some extent, but nothing is currently implemented. I'll keep this open as a rule request. Here's my comment from the duplicate issue you just opened up on SourceKitten (jpsim/SourceKitten#216):
|
@steve21124 probably better to use something like https://github.com/kucherenko/jscpd |
Doesn't look like jscpd supports Swift. |
Swift language support added to jscpd |
Sweet, thanks @kucherenko for the quick turnaround on that! |
since swiftlint use sourcekit, do you think it is possible to detect duplicate code through result from sourcekit?
The text was updated successfully, but these errors were encountered: