Skip to content

Policy for new enabled-by-default rules #2592

Description

@jshier

I appreciate the continued development of this tool, as it continues to be better than swift-format. However, the number of default rules added over time have become a major issue. Every release has the potential for dozens to hundreds of changes in a codebase, just by running the formatter. While I recognize this is technically okay by the rules of semver, given the tool is still below 1.0, it's still quite disruptive. Default rules should be reserved for true Swift styling that has near universal adoption already. It should NOT be for highly opinionated rules, like the various wrap* rules that have been added over the last couple of releases, especially when there are no customizations available for those rules.

On the matter of versioning, this tool has been around for quite a while now, so I think it's time to go 1.0 and provide a little bit of stability to the users. As part of that, codifying the criteria for making new default rules would also be a good idea, like SwiftLint.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions