sonarlint-intellij Questions

1

I am trying to refactor my code using the IntelliJ idea extension called sonarLint. In there, sonarLint suggests further modification like this picture below(I have marked the issue in red) SonarLi...
Hamiltonian asked 10/12, 2021 at 15:38

3

Solved

I want to suppress the Sonar lint plugin warning for some methods. This question is not what I want Intellij SonarLint 2.3 - ignore rule. Currently I have to annotate the method with @SuppressWarni...
Macfarlane asked 18/11, 2017 at 18:23

2

Solved

if (res.getBody() == null || res.getBody().getServiceResult() == null) { return; // } in above code, sonarlint complains that SonarLint: A "NullPointerException" could be thrown; "...
Teriteria asked 22/2, 2021 at 5:33

4

Is there some way of turning-off automatic SonarLint analysis in Intellij IDEA? I have some 10,000 to 20,000 lines-of-code classes (don't ask, not my fault, trying to refactor). Every time I edit ...
Lessee asked 26/8, 2016 at 21:44

2

Solved

The SonarLint plugin for Intellij gives warnings for TODOs as well. By default Intellij highlights TODOs and displays them in a Commit Dialog as well. SonarLint highlighting it again is redundant....

1

Solved

Here is my license header in the source code: package org.osgl.ut; /*- * #%L * Java Unit Test Tool * %% * Copyright (C) 2017 OSGL (Open Source General Library) * %% * Licensed under the Apa...
Homophony asked 25/8, 2017 at 4:36

1

Solved

I've just updated SonarLint plugin for Intellij Idea to version 2.3.2. Changelog says that since version 2.3 rule exclusion in connected mode should be available. Below is my configuration, seems ...
Quota asked 12/9, 2016 at 11:58

1

Solved

I'm experimenting with SonarLint for IntelliJ, but I'm a bit wary of it. It doesn't seem to be offering anything more than IntelliJ already does, and there's no way to even look at what rules it is...
1

© 2022 - 2024 — McMap. All rights reserved.