You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CodeFactor PR check flags up problems on ontouched and unrelated lines/methods #6941
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-AnsweredThe question is answered.
As per title, the CodeFactor check makes most PRs red because it flags up issues that are unrelated to the PR.
This is due to the files containing a lot of other code. Neither do I want to change unrelated code as part of the PR nor seeing the PR checks as red, we should not have a '50 shades of red' build.
The team should clean up the warnings first or suppress some of the warnings since so far most of them are purely stylistic.
.Net Core has the Microsoft.CodeAnalysis.FxCopAnalyzers NuGet package, which is a subset of the CA warnings that most people are familiar with from the full .Net framework, I found those warnings more useful rather than having a linter check, since linters are more useful when being used in VS Code extensions
I personally think CodeFactor should be disabled until it can be useful. That could be either after CodeFactor makes it more surgically applied to the PR changes or until the project has a cohesive style that rule and CI checks can actually be applied against.
I definitely agree with you on not wanted PRs merged with failed checks. Right now CodeFactor is noise.
Currently CodeFactor is optional and don't block current PRs.
We have already opened #6930 to get feedback about CodeFactor. Please leave comments there what rules should be turned off or configured.
We never fix CodeFactor issues if we disable it.
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-AnsweredThe question is answered.
Activity
markekraus commentedon May 26, 2018
ref: #6930 #4708
I personally think CodeFactor should be disabled until it can be useful. That could be either after CodeFactor makes it more surgically applied to the PR changes or until the project has a cohesive style that rule and CI checks can actually be applied against.
I definitely agree with you on not wanted PRs merged with failed checks. Right now CodeFactor is noise.
iSazonov commentedon May 27, 2018
Currently CodeFactor is optional and don't block current PRs.
We have already opened #6930 to get feedback about CodeFactor. Please leave comments there what rules should be turned off or configured.
We never fix CodeFactor issues if we disable it.
iSazonov commentedon Jun 5, 2018
We continue to adjust CodeFactor setting step by step. Please discuss next steps in 4708.