aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-css-plugin/src/main/resources/static/documentation.md
blob: d1dfd6b78b50b4facac09ac21619ca7d41e369b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
title: CSS
key: css
---

<!-- static -->
<!-- update_center:cssfamily -->
<!-- /static -->


## 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 SonarCSS, so it should be removed.

## Language-Specific Properties

Discover and update the CSS-specific [properties](/analysis/analysis-parameters/) in: <!-- sonarcloud -->Project <!-- /sonarcloud -->**[Administration > General Settings > CSS](/#sonarqube-admin#/admin/settings?category=css)**

## Supported Languages
* CSS, SCSS, Less
* Also 'style' inside PHP, HTML and VueJS files

## Related Pages
* [Importing External Issues](/analysis/external-issues/) (StyleLint.io)