Support for sass files?

Hello team,
what is the current recommended way to analyze “sass” css extension files with SonarQube?

Thank you.

If your SASS is using SCSS syntax but not the .scss extension, you should simply be able to add the additional .sass extension to the list of extensions used by our CSS analyzer under Administration / Languages (or the project-scoped equivalent).

If you’re actually using the older indentation-based SASS syntax, your mileage may vary; I’m not sure we actually support this. Give it a shot, but don’t be surprised if you see errors during analysis. In this case, you may have no choice but to run some other SASS linter (there are some for node.js as I recall from my dev days) and use Generic Issue Import to pull them into SQ.

Hope this helps!