Skip to content

Exclude xml files for LineLength rule ? #398

Open
@Nuranto

Description

@Nuranto

I don't think having LineLength rule for xml is relevant. With XML indentation and a lot of nested tags (ie. system.xml), or with some tags that must have a full classname (ie. di.xml), it can be very counterproductive if not impossible.

That led us to exclude this rule from our checks, which is a shame since we don't see anymore legit alerts on .php files.

I suggest adding <exclude-pattern>*\.xml$</exclude-pattern> to it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions