-
Notifications
You must be signed in to change notification settings - Fork 24
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
Allow setting separate language specific mass thresholds for identical and similar code #326
Comments
👍 |
Hi @kevinleturc and @rdimartino - thanks for the suggestion. Although I don't have an ETA, this is something that we're looking at adding. Can you tell me a little bit more about your use case?
|
@efueger We're using a Rails backend with a React frontend. We were getting some false positives when using some of our more template-like React components that have a little bit more boilerplate but can't really be abstracted further. As a work around for this we currently doing something like:
but this is obviously not ideal. |
We're in the same boat, Rails backend + React frontend. In particular React has a lot of structure repetition (considered best practice afaik) like |
Same for us. Really want to decrease identical-code threshold only for the Javascript, as we use Ember. Works fine for the backend part on Rails. |
+1 for this. Our use-case is an android project that is partially java and partially kotlin. Thanks! |
+1, we have a similar situation where frontend technologies should have a different threshold than backend. Is this still being considered? |
+1 it'd be very useful. We need to separate frontend from backend as well. |
I can set separate check mass thresholds with
but those aren't language specific.
I can set a language-specific mass threshold with
but that sets the threshold for both identical and similar code.
I want to be able to do something like
The text was updated successfully, but these errors were encountered: