8.9 | Analyzing source code | Languages | CSS

On this page

CSS

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.

© 2008-2023, SonarSource S.A, Switzerland. Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution-NonCommercial 3.0 United States License. SONARQUBE is a trademark of SonarSource SA. All other trademarks and copyrights are the property of their respective owners.

Creative Commons License