accodeing / fortnox-api

Gem that abstracts Fortnox's F3 API
GNU Lesser General Public License v3.0
9 stars 8 forks source link

Fix broken codeclimate integration #211

Closed ehannes closed 2 years ago

ehannes commented 2 years ago

Even though #208 is fixed, the problem with codeclimate is still around, crashing the codeclimate run:

/usr/local/bundle/gems/rubocop-0.52.1/lib/rubocop/config.rb:510:in `check_target_ruby': Unknown Ruby version 2.6 found in `TargetRubyVersion` parameter (in .rubocop.yml). (RuboCop::ValidationError)
Supported versions: 2.1, 2.2, 2.3, 2.4, 2.5
ehannes commented 2 years ago

You need to explicitly set the Rubocop version in .codeclimate.yml.