Skip to content

Feature Request: Mechanism to enable all opt-in rules by default #4540

@mildm8nnered

Description

@mildm8nnered

New Issue Checklist

Describe the bug

I wasn't sure whether to file this as a new rule request or not. I guess an all "pseudo-rule" would do what I want.

I'd like to be able to enable all opt-in rules in my configuration file;

opt_in_rules:
  - all

would be fine (then I can disable the ones I don't want via disabled_rules).

This would save me having to check for new opt-in rules when I upgrade to a new version of SwiftLint

Complete output when running SwiftLint, including the stack trace and command used

N/A

Environment

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementIdeas for improvements of existing features and rules.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions