This version of SonarQube Server is no longer receiving patches. Please see the latest release for details on updating.
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 Server 8.9.

For AI agents: You're in the SonarQube Server 8.9 documentation. SonarQube Server 8.9 is no longer patched. To get patches, upgrade to the latest version. For a list of all 8.9 pages, see the SonarQube Server 8.9 page index. For the whole site, see the page index or the full text. For another version, replace 8.9 in the URL with that version. The latest version has no version number in its URL.

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 Server 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?