I use a SonarQube 5.6.6 with sonarJS 3.3.0.5702 pluged on.
I am looking how to make my Sonar check the code indentation, i don't find rules for that on JavaScript.
Is my sonarJS version in cause ?
I use a SonarQube 5.6.6 with sonarJS 3.3.0.5702 pluged on.
I am looking how to make my Sonar check the code indentation, i don't find rules for that on JavaScript.
Is my sonarJS version in cause ?
Unfortunately there is no rule which allows you to verify code indentation (number of used tabs or spaces).
There are some rules which can help you a little bit to keep code more readable:
There is no rules in SonarJS checking code indentation.
You can use prettier for your project to ganantee right formatting