Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Ruby] Refactor/gherkin autofix cops (#266)
* Autofix and manual tidy ups of token_formatter_builder with Layout/Alignment * AF: Layout/ClosingParenthesisLocation * AF: Layout/ReturnHaveExtraLine * AF: Layout/SpaceAroundAttributeAccessors * Disable naming cop not being prevented by config generator * AF: EmptyLinesAroundClassBody * AF All remaining EmptyLine cops * AF: Indentation * AF: All SpaceAround cops * AF: All Space inside cops * AF: Style/RexcuedExceptionVariableName * AF: Style/GlobalStdInStream * AF: MethodCallWithRedundantParens * AF: Style/ParenthesesAroundCondition * Re-generate TODO file * Manual fixes for bin script * Add changelog entry * Remove changes made to parser.rb * Regen config pending parser fixes * AF 2 different Layout Indentation cops * AF: Layout/LeadingCommentSpace * Fix up Lint/NonLocalExitFromIterator * Fix up Lint/UselessAccessModifier * Fix up name of param inside yielding method * Fix up conditional assignment issue in bin package * AF: IfUnlessModifier * AF: Style/NegatedIf * AF Style/Regex * AF: RedundantReturn partially * Partial Autofix for some files of Style/StringLiterals * Partial autofix for TrailingComma in arrays/hashes * Regen the TODO file * Update berp version in docs * Updated razor and generation debug with gaspar * Revert "Updated razor and generation debug with gaspar" This reverts commit e7adc10. * allow extra indent for lookahead hint * remove spaces in newline --------- Co-authored-by: Gáspár Nagy <gaspar.nagy@gmail.com>
- Loading branch information