Skip to content

Add a default set of rules for running scalafix #3330

Open
@Gedochao

Description

@Gedochao

Is your feature request related to a problem? Please describe.
We currently require a .scalafix.conf file to be present in the project.
We should use a predefined default set of rules, if none are provided.

Describe the solution you'd like

  • when scalafix is run in a directory with no .scalafix.conf, a set of default rules should be run (the temp config file can be kept in the .scala-build workspace directory)
  • there should be a command line option for persisting the default set of rules in a .scalafix.conf file in the project root directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestexperimentalTickets tied to experimental features.scalafixIssues tied with scalafix integrationsubcommand:fixissues tied to the `fix` sub-command.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions