Closed ryabrody closed 3 years ago
This PR upgrades rubocop and switches GitHub Action from using actions/setup-ruby to use ruby/setup-ruby. It also removes the localch specific rubocop rules. Now we only have .rubocop.yml.
actions/setup-ruby
ruby/setup-ruby
.rubocop.yml
Furthermore this PR disables following cops:
Lint/DeprecatedConstants
Lint/EmptyBlock
Lint/EmptyClass
Lint/OrAssignmentToConstant
Lint/SymbolConversion
Lint/NonDeterministicRequireOrder
Lint/ConstantDefinitionInBlock
Lint/ToJSON
Layout/LineLength
Style/HashConversion
Style/NilLambda
Style/SingleArgumentDig
Style/OptionalBooleanParameter
Style/CaseLikeIf
Style/RedundantBegin
Style/RedundantAssignment
Performance/StringInclude
This PR upgrades rubocop and switches GitHub Action from using
actions/setup-ruby
to useruby/setup-ruby
. It also removes the localch specific rubocop rules. Now we only have.rubocop.yml
.Furthermore this PR disables following cops:
Lint/DeprecatedConstants
Lint/EmptyBlock
Lint/EmptyClass
Lint/OrAssignmentToConstant
Lint/SymbolConversion
Lint/NonDeterministicRequireOrder
Lint/ConstantDefinitionInBlock
Lint/ToJSON
Layout/LineLength
Style/HashConversion
Style/NilLambda
Style/SingleArgumentDig
Style/OptionalBooleanParameter
Style/CaseLikeIf
Style/OptionalBooleanParameter
Style/RedundantBegin
Style/RedundantAssignment
Performance/StringInclude