Skip to content

Formatter SplitTooLongLine for [Arguments] conflicts with linter rules #1723

@Matsisti

Description

@Matsisti

When keyword's [Arguments] section goes over line length limit, formatter SplitTooLongLine will split arguments into multiple lines.

If split_on_every_setting_arg is true, split will conflict with linter rule SPC18: first-argument-in-new-line:
https://robocop.dev/stable/formatter/formatters/SplitTooLongLine/#__tabbed_9_2
https://robocop.dev/stable/rules_list/#spc18-first-argument-in-new-line

And if split_on_every_setting_arg is false, split will conflict with ARG07: arguments-per-line:
https://robocop.dev/stable/formatter/formatters/SplitTooLongLine/#__tabbed_9_3
https://robocop.dev/stable/rules_list/#arg07-arguments-per-line

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