# Sonar lint is not using sonar qube's quality profiles

**URL:** <https://community.sonarsource.com/t/sonar-lint-is-not-using-sonar-qubes-quality-profiles/32468>\
**Category:** IntelliJ Platform\
**Tags:** intellij, sonarqube-ide\
**Created:** [October 6, 2020, 2:31pm UTC](https://community.sonarsource.com/t/sonar-lint-is-not-using-sonar-qubes-quality-profiles/32468 "2020-10-06T14:31:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rahul\_dubey1](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/rahul_dubey1/32/15760_2.png) [@rahul\_dubey1](https://community.sonarsource.com/u/rahul_dubey1)\
**Post date:** [October 6, 2020, 2:31pm UTC](https://community.sonarsource.com/t/sonar-lint-is-not-using-sonar-qubes-quality-profiles/32468/1 "2020-10-06T14:31:31Z")

</div>

Template for a good bug report, formatted with [Markdown](https://commonmark.org/help/):

- versions used  
SonarQube: 7.5 (build 20543)  
SonarLint : 4.12.1.223375  
OS : MAC 10.14.6 (18G3020)

- error observed (wrap logs/code around triple quote ``` for proper formatting)  
No errors, the issue is that sonar lint is not using sonar qube’s rules while analyzing the project.  
Project is having binding correctly, and also binding is updated.

- steps to reproduce  
See issues on any file on sonarqube, analyse the same file from sonar lint.  
Check the same issues are coming which are shown in sonarqube or not.

Expected Result:  
Same issues which are shown on sonarqube should come here as well.

Actual Result:  
Sonar lint is not using server rules(quality profiles) it is using its local rules to scan.

- potential workaround  
no work around.

---

<div class="post-metadata">

**Author:** ![Damien\_Urruty](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/damien_urruty/32/43383_2.png) [@Damien\_Urruty](https://community.sonarsource.com/u/Damien_Urruty)\
**Post date:** [October 7, 2020, 3:59pm UTC](https://community.sonarsource.com/t/sonar-lint-is-not-using-sonar-qubes-quality-profiles/32468/2 "2020-10-07T15:59:25Z")

</div>

Hello,

Thanks for joining the community, and for raising this issue.

Could you send us an example of which issues are not detected on SonarLint side but are detected on SonarQube ?

Thanks  
Damien

---

<div class="post-metadata">

**Author:** ![rahul\_dubey1](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/rahul_dubey1/32/15760_2.png) [@rahul\_dubey1](https://community.sonarsource.com/u/rahul_dubey1)\
**Post date:** [October 8, 2020, 4:47am UTC](https://community.sonarsource.com/t/sonar-lint-is-not-using-sonar-qubes-quality-profiles/32468/3 "2020-10-08T04:47:19Z")

</div>

Attaching the screen shot.

This issue is reported in sonar qube see below:

 ![Screenshot 2020-10-08 at 10.13.40 AM](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/2X/c/c0500ae15a30f067ec0fe7607679e5caf00027c4.png)

But is not coming when analysing this file from sonar lint. For solving each and every issue, we are doing check in of code and then from sonar qube we are able to verify if the issue is fixed or not.

 ![Screenshot 2020-10-08 at 10.18.09 AM](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/2X/f/fee46f44aec73e23df4c22810e1cd15e4edab44f.jpeg)

---

<div class="post-metadata">

**Author:** ![anon67236913](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@anon67236913](https://community.sonarsource.com/u/anon67236913)\
**Post date:** [October 8, 2020, 5:34am UTC](https://community.sonarsource.com/t/sonar-lint-is-not-using-sonar-qubes-quality-profiles/32468/4 "2020-10-08T05:34:37Z")

</div>

Hi,

as you wrote version

> [@rahul\_dubey1](#):
>
> SonarLint : 4.12.1.223375

i guess you’re using Sonarlint for IntelliJ.  
Not all scanners are supported in Sonarlint, see the details here

![sonarlint_intellij_info](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/2X/3/3bbe31cfbad753870e85eff20ae2e4b7210cb829.png)

and you’ll see the CSS scanner is not yet supported, it’s only

 ![sonarlint_intellij](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/2X/c/c8459b234f75202f5e3103fa9f5ce12758985c0d.png)

and Swift, Scala, XML when connected to Sonarqube, Sonarcloud.  
See also here [Linter IDE Tool & Real-Time Software for Code | Sonar](https://www.sonarlint.org/intellij/) beyond  
“Detect Code Quality and Security issues on the fly in:”

Gilbert

---

<div class="post-metadata">

**Author:** ![Damien\_Urruty](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/damien_urruty/32/43383_2.png) [@Damien\_Urruty](https://community.sonarsource.com/u/Damien_Urruty)\
**Post date:** [October 8, 2020, 9:37am UTC](https://community.sonarsource.com/t/sonar-lint-is-not-using-sonar-qubes-quality-profiles/32468/6 "2020-10-08T09:37:22Z")

</div>

Hello,

As already pointed out, CSS is not supported by SonarLint, neither in standalone nor connected mode.

We understand that it is at least surprising to obtain different results than in SonarQube. This is something that might evolve in the future but we don’t have a clear time frame for this.

Thanks again for reporting this issue.  
Damien
