In order to analyze CSS code, you need to have Node.js >= 8 installed on the machine running the scan. Set property sonar.nodejs.executable to an absolute path to Node.js executable, if standard node is not available.

If you have a community plugin that handles CSS installed on your SonarQube instance it will conflict with analysis of CSS, so it should be removed.

Language-Specific Properties

Discover and update the CSS-specific properties in: Administration > General Settings > CSS

Supported Languages

  • CSS, SCSS, Less
  • Also 'style' inside PHP, HTML and VueJS files

Related Pages

Issue Tracker

Check the issue tracker for this language.