Changing the severity of eslint rules in sonrqube

Iam trying to import eslint report into sonarqube and i’ve successfully managed to import all the rules however all the imported rules are showing as major severity can i change the severity of these rules in sonarqube?

Hi,

Welcome to the community!

You can edit the issue severities once they’re imported into SonarQube.

 
HTH,
Ann

Can i change the rules severity to minor/info from eslint report?

Hi,

I haven’t actually seen an ESLint report, but I suspect it does not contain Severity, and so Major is assigned to everything as a default.

If you’re really passionate about this, what you could do is write a converter to translate your ESLint reports to the Generic Issues report format, which does allow you to specify severity. But I doubt it would be worth it.

 
Ann

This article can help you. And I succeed!
image

1 Like