nerdgeschoss / shimmer

Shimmer is a collection of Rails extensions that bring advanced UI features into your app and make your life easier as a developer.
https://nerdgeschoss.de
MIT License
5 stars 1 forks source link

Fix Linting on Ruby 3.1 #59

Closed jmarsh24 closed 1 month ago

jmarsh24 commented 1 year ago

The linting breaks here

Run bundle exec rubocop -c .rubocop.yml
vendor/bundle/ruby/3.1.0/gems/standard-0.0.36.1/config/base.yml: Performance/RedundantSortBy has the wrong namespace - should be Style
vendor/bundle/ruby/3.1.0/gems/standard-0.0.36.1/config/base.yml: Performance/Sample has the wrong namespace - should be Style
vendor/bundle/ruby/3.1.0/gems/standard-0.0.36.1/config/base.yml: Rails/SafeNavigation has the wrong namespace - should be Style
Error: The `Layout/AlignArray` cop has been renamed to `Layout/ArrayAlignment`.
(obsolete configuration found in vendor/bundle/ruby/3.1.0/gems/standard-0.0.36.1/config/base.yml, please update it)
The `Layout/AlignHash` cop has been renamed to `Layout/HashAlignment`.
(obsolete configuration found in vendor/bundle/ruby/3.1.0/gems/standard-0.0.36.1/config/base.yml, please update it)
The `Layout/AlignParameters` cop has been renamed to `Layout/ParameterAlignment`.
(obsolete configuration found in vendor/bundle/ruby/3.1.0/gems/standard-0.0.36.1/config/base.yml, please update it)
The `Layout/IndentArray` cop has been renamed to `Layout/FirstArrayElementIndentation`.
(obsolete configuration found in vendor/bundle/ruby/3.1.0/gems/standard-0.0.36.1/config/base.yml, please update it)
The `Layout/IndentAssignment` cop has been renamed to `Layout/AssignmentIndentation`.
(obsolete configuration found in vendor/bundle/ruby/3.1.0/gems/standard-0.0.36.1/config/base.yml, please update it)
The `Layout/IndentHash` cop has been renamed to `Layout/FirstHashElementIndentation`.
(obsolete configuration found in vendor/bundle/ruby/3.1.0/gems/standard-0.0.36.1/config/base.yml, please update it)
The `Layout/IndentHeredoc` cop has been renamed to `Layout/HeredocIndentation`.
(obsolete configuration found in vendor/bundle/ruby/3.1.0/gems/standard-0.0.36.1/config/base.yml, please update it)
The `Layout/LeadingBlankLines` cop has been renamed to `Layout/LeadingEmptyLines`.
(obsolete configuration found in vendor/bundle/ruby/3.1.0/gems/standard-0.0.36.1/config/base.yml, please update it)
The `Layout/Tab` cop has been renamed to `Layout/IndentationStyle`.
(obsolete configuration found in vendor/bundle/ruby/3.1.0/gems/standard-0.0.36.1/config/base.yml, please update it)
The `Layout/TrailingBlankLines` cop has been renamed to `Layout/TrailingEmptyLines`.
(obsolete configuration found in vendor/bundle/ruby/3.1.0/gems/standard-0.0.36.1/config/base.yml, please update it)
The `Lint/DuplicatedKey` cop has been renamed to `Lint/DuplicateHashKey`.
(obsolete configuration found in vendor/bundle/ruby/3.1.0/gems/standard-0.0.36.1/config/base.yml, please update it)
The `Lint/EndInMethod` cop has been renamed to `Style/EndBlock`.
(obsolete configuration found in vendor/bundle/ruby/3.1.0/gems/standard-0.0.36.1/config/base.yml, please update it)
The `Lint/MultipleCompare` cop has been renamed to `Lint/MultipleComparison`.
(obsolete configuration found in vendor/bundle/ruby/3.1.0/gems/standard-0.0.36.1/config/base.yml, please update it)
The `Lint/StringConversionInInterpolation` cop has been renamed to `Lint/RedundantStringCoercion`.
(obsolete configuration found in vendor/bundle/ruby/3.1.0/gems/standard-0.0.36.1/config/base.yml, please update it)
The `Lint/UnneededRequireStatement` cop has been renamed to `Lint/RedundantRequireStatement`.
(obsolete configuration found in vendor/bundle/ruby/3.1.0/gems/standard-0.0.36.1/config/base.yml, please update it)
The `Lint/UnneededSplatExpansion` cop has been renamed to `Lint/RedundantSplatExpansion`.
(obsolete configuration found in vendor/bundle/ruby/3.1.0/gems/standard-0.0.36.1/config/base.yml, please update it)
The `Naming/UncommunicativeBlockParamName` cop has been renamed to `Naming/BlockParameterName`.
(obsolete configuration found in vendor/bundle/ruby/3.1.0/gems/standard-0.0.36.1/config/base.yml, please update it)
The `Style/UnneededCapitalW` cop has been renamed to `Style/RedundantCapitalW`.
(obsolete configuration found in vendor/bundle/ruby/3.1.0/gems/standard-0.0.36.1/config/base.yml, please update it)
The `Style/UnneededCondition` cop has been renamed to `Style/RedundantCondition`.
(obsolete configuration found in vendor/bundle/ruby/3.1.0/gems/standard-0.0.36.1/config/base.yml, please update it)
The `Style/UnneededInterpolation` cop has been renamed to `Style/RedundantInterpolation`.
(obsolete configuration found in vendor/bundle/ruby/3.1.0/gems/standard-0.0.36.1/config/base.yml, please update it)
The `Style/UnneededPercentQ` cop has been renamed to `Style/RedundantPercentQ`.
(obsolete configuration found in vendor/bundle/ruby/3.1.0/gems/standard-0.0.36.1/config/base.yml, please update it)
The `Lint/UselessComparison` cop has been removed since it has been superseded by `Lint/BinaryOperatorWithIdenticalOperands`. Please use `Lint/BinaryOperatorWithIdenticalOperands` instead.
(obsolete configuration found in vendor/bundle/ruby/3.1.0/gems/standard-0.0.36.1/config/base.yml, please update it)
The `Style/MethodMissingSuper` cop has been removed since it has been superseded by `Lint/MissingSuper`. Please use `Lint/MissingSuper` instead.
(obsolete configuration found in vendor/bundle/ruby/3.1.0/gems/standard-0.0.36.1/config/base.yml, please update it)
`Performance` cops have been extracted to the `rubocop-performance` gem.
(obsolete configuration found in vendor/bundle/ruby/3.1.0/gems/standard-0.0.36.1/config/base.yml, please update it)
`Rails` cops have been extracted to the `rubocop-rails` gem.
(obsolete configuration found in vendor/bundle/ruby/3.1.0/gems/standard-0.0.36.1/config/base.yml, please update it)
Error: Process completed with exit code 2.