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

Layout Cops #9203

Merged
Merged

Commits on Jan 8, 2024

  1. Layout/SpaceAfterNot

    This commit enables the Rubocop Layout/SpaceAfterNot cop and addresses
    all offenses.
    mhashizume committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    db3e94f View commit details
    Browse the repository at this point in the history
  2. Layout/SpaceAfterSemicolon

    This commit enables the Rubocop Layout/SpaceAfterSemicolon cop and
    addresses all offenses.
    mhashizume committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    75a68f1 View commit details
    Browse the repository at this point in the history
  3. Layout/SpaceAroundBlockParameters

    This commit enables the Rubocop Layout/SpaceAroundBlockParameters cop
    and addresses all offenses.
    mhashizume committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    22e071a View commit details
    Browse the repository at this point in the history
  4. Layout/SpaceAroundEqualsInParameterDefault

    This commit enables the Rubocop
    Layout/SpaceAroundEqualsInParameterDefault cop and addresses all
    offenses.
    mhashizume committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    9fd6354 View commit details
    Browse the repository at this point in the history
  5. Layout/SpaceAroundKeyword

    This commit enables the Rubocop Layout/SpaceAroundKeyword cop and
    addresses all offenses.
    mhashizume committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    f6dfecb View commit details
    Browse the repository at this point in the history
  6. Layout/SpaceAroundMethodCallOperator

    This commit enables the Rubocop Layout/SpaceAroundMethodCallOperator cop
    and addresses all offenses.
    mhashizume committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    7b33fc3 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2024

  1. Disable Layout cops on == method

    The Puppet::Pops::Validation::Diagnostic#== method triggers multiple
    Rubocop Layout offenses. Despite that, it's unclear if there is another
    way to format the method to improve readability.
    
    This commit disables all Rubocop Layout cops on this method.
    mhashizume committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    cf4a606 View commit details
    Browse the repository at this point in the history
  2. Layout/SpaceAroundOperators

    This commit enables the Rubocop Layout/SpaceAroundOperators cop and
    addresses all offenses.
    mhashizume committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    9f8fb93 View commit details
    Browse the repository at this point in the history
  3. Layout/SpaceBeforeBlockBraces

    This commit enables the Rubocop Layout/SpaceBeforeBlockBraces cop and
    addresses all offenses.
    mhashizume committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    5a1b67d View commit details
    Browse the repository at this point in the history
  4. Layout/SpaceBeforeBrackets

    This commit enables the Rubocop Layout/SpaceBeforeBrackets cop and
    addresses all offenses.
    mhashizume committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    4be9889 View commit details
    Browse the repository at this point in the history
  5. Layout/SpaceBeforeComma

    This commit enables the Rubocop Layout/SpaceBeforeComma cop and
    addresses all offenses.
    mhashizume committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    4a53dea View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d9e983a View commit details
    Browse the repository at this point in the history
  7. Layout/SpaceBeforeFirstArg

    This commit enables the Rubocop Layout/SpaceBeforeFirstArg cop.
    mhashizume committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    2c6855e View commit details
    Browse the repository at this point in the history
  8. Layout/SpaceBeforeSemicolon

    This commit enables the Rubocop Layout/SpaceBeforeSemicolon cop and
    addresses all offenses.
    mhashizume committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    7275de4 View commit details
    Browse the repository at this point in the history
  9. Simplify sequential arrays to ranges

    Prior to this commit, the lexer used arrays of sequential characters
    (0-9, a-z, A-Z) by explicitly naming each character in the array (e.g.
    "['0', '1', '2']").
    
    This commit simplifies those arrays to use ranges (e.g. "('0'..'9')")
    instead.
    mhashizume committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    4d45b79 View commit details
    Browse the repository at this point in the history
  10. Layout/SpaceInsideArrayLiteralBrackets

    This commit enables the Rubocop Layout/SpaceInsideArrayLiteralBrackets
    cop and addresses all offenses.
    mhashizume committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    b26d640 View commit details
    Browse the repository at this point in the history
  11. Layout/SpaceInsideBlockBraces

    This commit enables the Rubocop Layout/SpaceInsideBlockBraces cop and
    addresses all offenses.
    mhashizume committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    735ec34 View commit details
    Browse the repository at this point in the history
  12. Layout/SpaceInsideHashLiteralBraces

    This commit enables the Rubocop Layout/SpaceInsideHashLiteralBraces cop
    and addresses all offenses.
    mhashizume committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    f140c82 View commit details
    Browse the repository at this point in the history
  13. Layout/SpaceInsideParens

    This commit enables the Rubocop Layout/SpaceInsideParens cop and
    addresses all offenses.
    mhashizume committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    e298c24 View commit details
    Browse the repository at this point in the history
  14. Layout/SpaceInsidePercentLiteralDelimiters

    This commit enables the Rubocop
    Layout/SpaceInsidePercentLiteralDelimiters cop and addresses all
    offenses.
    mhashizume committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    89aa3f8 View commit details
    Browse the repository at this point in the history
  15. Layout/SpaceInsideRangeLiteral

    This commit enables the Rubocop Layout/SpaceInsideRangeLiteral cop and
    addresses all offenses.
    mhashizume committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    5279caa View commit details
    Browse the repository at this point in the history
  16. Layout/SpaceInsideReferenceBrackets

    This commit enables the Rubocop Layout/SpaceInsideReferenceBrackets cop
    and addresses all offenses.
    mhashizume committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    fec7703 View commit details
    Browse the repository at this point in the history
  17. Layout/SpaceInsideStringInterpolation

    This commit enables the Rubocop Layout/SpaceInsideStringInterpolation
    cop and addresses all offenses.
    mhashizume committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    23f0018 View commit details
    Browse the repository at this point in the history
  18. Layout/TrailingEmptyLines

    This commit enables the Rubocop Layout/TrailingEmptyLines cop and
    addresses all offenses.
    mhashizume committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    39bb919 View commit details
    Browse the repository at this point in the history
  19. Layout/TrailingWhitespace

    This commit enables the Rubocop Layout/TrailingWhitespace cop and
    addresses all offenses.
    mhashizume committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    6cb3b8c View commit details
    Browse the repository at this point in the history