Skip to content

Editorconfig version introduces new compiler/SA errors that must be suppressed #82

@pakdev

Description

@pakdev

Updating to the latest version of the analyzers (2.0.13) results in several compiler/SA errors. Both @epetersoni and myself have seen at least these errors in our projects:

  • IDE0008: Use explicit type instead of var
  • IDE0022: Use expression body for methods
  • IDE0045: Convert to conditional expression for assignment (I made this a suggestion)
  • IDE0046: Convert to conditional expression for return (I made this a suggestion)
  • IDE0058: Remove unnecessary expression value
  • SA1206 / IDE0036: Declaration keywords should follow order (these conflict e.g. required public vs. public required)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions