# SonarLint work with rules diferents from remote SonarQube Rules

**URL:** <https://community.sonarsource.com/t/sonarlint-work-with-rules-diferents-from-remote-sonarqube-rules/70118>\
**Category:** IntelliJ Platform\
**Tags:** sonarqube-ide, sonarqube\
**Created:** [August 19, 2022, 2:58pm UTC](https://community.sonarsource.com/t/sonarlint-work-with-rules-diferents-from-remote-sonarqube-rules/70118 "2022-08-19T14:58:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zaccantte](https://avatars.discourse-cdn.com/v4/letter/z/ed8c4c/32.png) [@zaccantte](https://community.sonarsource.com/u/zaccantte)\
**Post date:** [August 19, 2022, 2:58pm UTC](https://community.sonarsource.com/t/sonarlint-work-with-rules-diferents-from-remote-sonarqube-rules/70118/1 "2022-08-19T14:58:24Z")

</div>

Hi everyone,

My SonarLint 7.0.0.52289 in the IntelliJ 2021.1.3 and Ubuntu 20.04.2 LTS work with rules diferents from remote SonarQube Rules

For example, i remove every rules localy but when i execute analyse, i get bug code smell that not exists in then remote server.

Can anyone help me?

Regards,  
Fabio.

---

<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:** [August 19, 2022, 3:04pm UTC](https://community.sonarsource.com/t/sonarlint-work-with-rules-diferents-from-remote-sonarqube-rules/70118/2 "2022-08-19T15:04:22Z")

</div>

Hello Fabio,

Thanks for posting here!

Could you give us more details about your problem: what code are you trying to analyze ? Which rules did you activate ? For which language ? A small reproducer file/project would help us understand what happens

EDIT: there is a way to connect SonarLint to your SonarQube, to get the same activated rules locally than on the server. Please follow instructions [here](https://github.com/SonarSource/sonarlint-intellij/wiki/Bind-to-SonarQube-or-SonarCloud)

---

<div class="post-metadata">

**Author:** ![zaccantte](https://avatars.discourse-cdn.com/v4/letter/z/ed8c4c/32.png) [@zaccantte](https://community.sonarsource.com/u/zaccantte)\
**Post date:** [August 19, 2022, 6:07pm UTC](https://community.sonarsource.com/t/sonarlint-work-with-rules-diferents-from-remote-sonarqube-rules/70118/3 "2022-08-19T18:07:10Z")

</div>

Hi Damien,

I updated the IntelliJ version to 2021.2.1 and it solved my problem.

Regards,  
Fabio.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/system/32/31083_2.png) [@system](https://community.sonarsource.com/u/system)\
**Post date:** [August 26, 2022, 6:07pm UTC](https://community.sonarsource.com/t/sonarlint-work-with-rules-diferents-from-remote-sonarqube-rules/70118/4 "2022-08-26T18:07:37Z")

</div>

Closed on August 26, 2022, 6:07pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
