This version of the SonarQube documentation is no longer maintained. It relates to a version of SonarQube that is not active.
For the complete documentation index, see llms.txt. This page is also available as Markdown.

CSS

CSS analysis is available starting in all editions of SonarQube.

Prerequisites

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

Issue tracker

Check the issue tracker for this language.

Last updated

Was this helpful?