Skip to content

Best way to deal with operator-linebreak and long line length #1926

Closed
@KayakinCoder

Description

@KayakinCoder

In a few places where code is indented a bit and we have something like this: myObject.ProbablyTooLong.PropertyName = somethingElse.That.IsLong;

We had previously broken the line up to avoid max-len violations:

myObject.ProbablyTooLong.PropertyName
       = somethingElse.That.IsLong;

A recent update now gives us operator-linebreak errors, There should be no line break before or after '='

Does anyone have suggestions on best practice here? Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions