Looks like a minified file and will not be analyzed


(Hilal Emeksiz) #1

Are *min.js ( minified javascript files) ignored while SonarJS is in action?

How about their unminified versions, is there a number of line limit, for the unminified (original)ones not to be analyzed?

(Andrea Guarino) #2

Hi Hilal,
Indeed, minified files are ignored by SonarJS analysis (those that have file name ending with “min.js”).
Moreover, files that have an unusually high average line length are also excluded since they were probably generated by some tool.
You can check the details in the code here.