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

Find a way to display rules in SonarQube interface #12

Closed utarwyn closed 1 year ago

utarwyn commented 1 year ago

Due to the use of an external ESLint plugin, JavaScript rules are not displayed in the SonarQube interface and cannot be associated to a quality profile. Maybe we can find a way to work around this restriction of SonarQube to improve and simplify the configuration of the rules?

Any ideas are welcome, I will also do a lot of tests on my side.

utarwyn commented 1 year ago

I found something very insteresting: https://github.com/SonarSource/SonarJS/tree/master/its/plugin/plugins/eslint-custom-rules-plugin