SonarLint and SonarQube have different reports

You might find this FAQ interesting: (Why are some issues reported by SonarQube/SonarCloud, but not in SonarLint (even with connected mode)?)