Skip to content

ScalaSeq rule requires blank config or it crashes #133

@mnd999

Description

@mnd999

The ScalaSeq rule seems to crash in a confusing way if it's just listed in the rules part of the scalafix configuration without any additional options:

 error: {"rules": ["fix.scala213.ScalaSeq"]} has no field 'fix'.

This is really hard to figure out what is wrong. Adding additional configuration of fix.scala213.ScalaSeq {} makes the rule work, so the configuration is effectively unnecessary.

Can we get a better error here, or at least document this?

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