Skip to content

SpaceAroundOperator flags violations for the optional array operator ?[ #758

@aibolit

Description

@aibolit

The SpaceAroundOperator flags violations for a?[b]
There is already an explicit exception for the array operator [ at https://github.com/CodeNarc/CodeNarc/blob/master/src/main/groovy/org/codenarc/rule/formatting/SpaceAroundOperatorRule.groovy#L167

I am using version 3.3.0-groovy-4.0 for testing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions