Skip to content

CodeFactor PR check flags up problems on ontouched and unrelated lines/methods #6941

Closed

Description

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

Activity

  1. markekraus commented on May 26, 2018

    @markekraus
    Contributor

    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.

  2. iSazonov commented on May 27, 2018

    @iSazonov
    Collaborator

    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.

  3. added
    Issue-Question
    Resolution-Answered
    on May 27, 2018
  4. iSazonov commented on Jun 5, 2018

    @iSazonov
    Collaborator

    We continue to adjust CodeFactor setting step by step. Please discuss next steps in 4708.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-QuestionResolution-Answered

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions