Questions tagged [sonarlint-intellij]

SonarLint for IntelliJ is an extension that provides on-the-fly feedback to developers on new bugs and quality issues injected into their code.

SonarLint for IntelliJ is an module that provides on-the-fly feedback to developers on new bugs and quality issues injected into their code.

More can be found at http://www.sonarlint.org/intellij/index.html

© 2008-2015, SonarSource S.A, Switzerland

61 questions
0
votes
1 answer

Sonar lint fix for generic class

I have the below code to instantiate all the service on the start of the application. Sonar lint on the IndicesFactory is complaining for generic raw type. What is the best way to fix this? public class IndicesFactory { private final Map
Harini
  • 105
  • 3
  • 13
0
votes
1 answer

SonarQube and Sonarsource's sonarlint plugin for Intellej compatiblity

We are using Enterprise support Sonarqube version 6.7.x. The current latest version of sonarlint plugin 8.3.0 is not comparable with my sonarqube 6.7.x. I tried some more version but none of them worked. Can some one please suggest the Sonarlint…
Jef
  • 134
  • 1
  • 1
  • 10
0
votes
1 answer

SonarQube analysis for java play framework

how to use sonarqube for code written in java play framework? sonarlint plugin is working but binding sonarqube server is not working. project not bound is showing when trying to updtate. tried sonarlint binding to sonarQube and also tried running…
0
votes
0 answers

Error fetching Kubernetes resources quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$

I have this deployement.yaml file : kind: "Template" apiVersion: "v1" metadata: name: "deploymentConfig-gui-template-${Platform}" annotations: description: "Template for gui deploymentConfig on ${Platform}" objects: - kind:…
0
votes
0 answers

Sonarlint: Provide the parametrised type for this generic

I have installed an extension called sonarlint, I am trying to refactor my code and reduce code smells, the plugin is suggesting I do further modifications like Raw types should not be used Code smell Generic types shouldn’t be used raw…
justrying
  • 69
  • 7
0
votes
1 answer

Error in sonarqube configuration using command prompt

wrapper | --> Wrapper Started as Console wrapper | Launching a JVM... jvm 1 | Error: Could not create the Java Virtual Machine. jvm 1 | Error: A fatal exception has occurred. Program will exit. jvm 1 | Unrecognized option:…
0
votes
0 answers

SonarLint plugin Android Studio: kotlin:S1125 clarification

We created an extension function for checking the new notification permission for Android 13 fun hasNotificationPermission(context: Context): Boolean { return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) …
Bitwise DEVS
  • 2,858
  • 4
  • 24
  • 67
0
votes
2 answers

SonarLint: Suppress specific line warning in Android Studio

There is a special case in our code where we need to call setText with getText of the same TextView. SonarLint warn this with kotlin:S1656, to suppress it we use @SuppressWarnings annotation but it does not work. It started showing an error to the…
Bitwise DEVS
  • 2,858
  • 4
  • 24
  • 67
0
votes
0 answers

How to check the unit test coverage for the new code on local

My company is going to force a new code unit testing coverage to allow the code merged. We have this number available on SonarQube after we commit and push to the remote branch. I was wondering if there is any tool/way for me to have a clue about…
Laodao
  • 1,547
  • 3
  • 17
  • 39
0
votes
0 answers

IDEA Intellij version 2020.1 - Sonarlint plugin not available in marketplace

I am unable to find SonarLint plugin on intellij marketplace. Search results show nothing. IDEA Intellij version 2020.1 - built April 8 2020 Runtime version - 11.0.6 Any solution/workaround for this issue ?
bio kio
  • 1
  • 1
0
votes
1 answer

SonarLint doesn't show custom rules from local SonarQube server

I've added some XML custom rules for my project. Then I added these rules to my local SonarQube server. When I analyze my project all of the custom rules appear. When I opened my project in Eclipse and connected to my local sonarqube via sonarlint,…
rdhd
  • 85
  • 1
  • 1
  • 9
0
votes
1 answer

Sonarqube and lint with intellij

I am new to IntelliJ. I want to use sonar Qube and sonar lint in combination with IntelliJ IDE. How to configure sonar Qube and sonar lint plugin in IntelliJ? I went through some sites which are suggesting me File -> Settings -> Other Settings ->…
RRD
  • 17
  • 1
  • 7
0
votes
1 answer

How to force SonarLint to scan jsx files?

I am using Webstorm 2017.1.3. I have SonarLint plugin with sonar configuration downloaded from our sonar server. The linting works flawlessly on javascript files with extension .js. However, no linting is performed on .jsx or .scss files. Since we…
Sulthan
  • 128,090
  • 22
  • 218
  • 270
0
votes
1 answer

SonarLint (IntelliJ Idea) failing to update binding: Minimum required version error

I haven't been able to update SonarLint's rules from the organization's SonarQube Server for a while now. It was working perfectly, but suddenly I started to get the following message: I'm guessing that maybe the SonarQube server was updated to a…
shoguren
  • 138
  • 1
  • 9
-1
votes
1 answer

Connecting SonarLint into SonarQubeServer but issues not mapping

I'm using sonarlint 4.12.1.22375 plugin in intelij, i have connected to sonarqube server Community EditionVersion 8.5 (build 37579) to use server's rules, but issues don't mapping beetween sonarlint and sonarqube server. This is my issues in…