green-code-initiative / ecoCode-javascript

Reduce the environmental footprint of your JS/TS software programs
https://ecocode.io
GNU General Public License v3.0
21 stars 18 forks source link

Make "ecoCode-javascript" compatible with SonarQube 10.4 "DownloadOnlyWhenRequired" feature #31

Closed agigleux closed 9 months ago

agigleux commented 9 months ago

Hello,

I'm Alex, Product Manager at Sonar.

SonarQube 10.4 will come with a feature to only download Sonar analyzers and 3rd-party plugins when they are really required by the Scanner. To make this feature work, each analyzer or 3rd-party plugin should declare the list of languages on which they expect to raise issues through a new MANIFEST property called Plugin-RequiredForLanguages.

See https://community.sonarsource.com/t/the-sonarscanners-download-only-required-3rd-party-plugins/108156 for more details.

Regards

utarwyn commented 9 months ago

Hello @agigleux, thank you for the issue about this new feature! It's a great idea, and one that reduces the ecological impact of SonarQube scans, so that's awesome! 👍🍃

I will add this configuration to the plugin as soon as possible.

Regards