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

Add rule class-signature #2119

Merged
merged 11 commits into from
Jul 21, 2023
Merged

Add rule class-signature #2119

merged 11 commits into from
Jul 21, 2023

Commits on Jul 9, 2023

  1. Add rule class-signature. This rule rewrites the class header to a …

    …consistent format. In code style `ktlint_official`, super types are always wrapped to a separate line. In other code styles, super types are only wrapped in classes having multiple super types. Especially for code style `ktlint_official` the class headers are rewritten in a more consistent format.
    
    Closes #875
    Closes #1349
    paul-dingemans committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    2e19b5c View commit details
    Browse the repository at this point in the history
  2. Refactor

    paul-dingemans committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    264c17c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cc99176 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2023

  1. Add disallowed comments locations for value argument, type argument, …

    …value parameter and type parameter lists so that the ClassSignatureRule does not need to check for this
    paul-dingemans committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    8663abd View commit details
    Browse the repository at this point in the history
  2. Refactor - simplify

    paul-dingemans committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    96e42bf View commit details
    Browse the repository at this point in the history
  3. Add test

    paul-dingemans committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    5039e50 View commit details
    Browse the repository at this point in the history
  4. Refactor

    paul-dingemans committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    28d7e5b View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2023

  1. Configuration menu
    Copy the full SHA
    9403d64 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2023

  1. Configuration menu
    Copy the full SHA
    7d8b141 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0cdd983 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8cc604d View commit details
    Browse the repository at this point in the history