Hi,
Could SonarQube detect source file extension if a file has two or more dots?
For example, a JavaScript file name is abc.m.js. Does SonarQube detect the file is a kind of JavaScript.
Many thanks,
Alvin
Hi,
Could SonarQube detect source file extension if a file has two or more dots?
For example, a JavaScript file name is abc.m.js. Does SonarQube detect the file is a kind of JavaScript.
Many thanks,
Alvin
Hey there.
Yes – in your example if .js
is configured as a file extension for the Javascript language (naturally!), an .m.js
file will also match the pattern.
Best regards,
Colin
Hi Colin,
The size minimized files, such as jquery.min.js, are not analyzed in our environment.
What should I check for figuring out this problem?
Many thanks,
Alvin
Hey Alvin,
Minified files are excluded from analysis by default.
Colin