Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip LineLength phase on --auto-gen-only-exclude #12730

Merged

Commits on Mar 6, 2024

  1. Skip LineLength phase on --auto-gen-only-exclude

    Phase 1 of config auto-generation runs the `Layout/LineLength` cop on
    all files to discover the `Max` line length, so it can be used by cops
    which depend on it.
    
    The `--auto-gen-only-exclude` config skips generating any `Max` configs,
    meaning phase 1 is redundant, as we won't generate the `Max` for use by
    phase 2.
    
    Therefore, we can skip phase 1 entirely.
    sambostock committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    15fb5c7 View commit details
    Browse the repository at this point in the history