-
Notifications
You must be signed in to change notification settings - Fork 181
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
JS-379 Merge file traversals to count project size and tsconfigs together #4888
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, but I have doubts about the need to double the exclusions, specially because this impacts how the user need to pass properties. We can have a look on Monday on how to make it work with the already existing glob
@@ -121,10 +120,15 @@ public class JavaScriptPlugin implements Plugin { | |||
public static final String TS_EXCLUSIONS_KEY = "sonar.typescript.exclusions"; | |||
public static final String[] EXCLUSIONS_DEFAULT_VALUE = new String[] { | |||
"**/node_modules/**", | |||
"**/node_modules", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to rethink this. Users adding exclusions will not be aware that they need to be repeated with both globs.
@@ -57,30 +56,11 @@ public JsTsSensor( | |||
AnalysisWithProgram analysisWithProgram, | |||
AnalysisWithWatchProgram analysisWithWatchProgram, | |||
AnalysisConsumers consumers | |||
) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can remove comment at the top of constructor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Quality Gate passedIssues Measures |
JS-379