treflehq / trefle-api

🍀 Trefle is a botanical JSON REST API for plants species, allowing you to search and query over all the registered species, and build the next gardening apps and farming robots.
https://trefle.io
GNU Affero General Public License v3.0
476 stars 50 forks source link

Remove restrictions on rubocop ruby version #116

Closed igas closed 1 month ago

igas commented 9 months ago

We are on ruby 3.1 .ruby-version.

Rubocop supports .ruby-version lookup, so we don't need to define it and keep it up to date.

https://docs.rubocop.org/rubocop/1.56/configuration.html#setting-the-target-ruby-version

It'll enable better cop support for newer ruby functionality.