This version of the SonarQube documentation is no longer maintained. It relates to a version of SonarQube that is not active.

See latest version
Start Free
8.9 | Analyzing source code | Languages | CSS

CSS

On this page

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.


Was this page helpful?

© 2008-2024 SonarSource SA. All rights reserved. SONAR, SONARSOURCE, SONARQUBE, and CLEAN AS YOU CODE are trademarks of SonarSource SA.

Creative Commons License