diff options
Diffstat (limited to 'sonar-css-plugin/src')
| -rw-r--r-- | sonar-css-plugin/src/main/resources/static/documentation.md | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/sonar-css-plugin/src/main/resources/static/documentation.md b/sonar-css-plugin/src/main/resources/static/documentation.md new file mode 100644 index 0000000..d1dfd6b --- /dev/null +++ b/sonar-css-plugin/src/main/resources/static/documentation.md @@ -0,0 +1,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) |
