# This configuration was generated by # `rubocop --auto-gen-config --no-auto-gen-timestamp` # using RuboCop version 1.21.0. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. # https://github.com/openstreetmap/openstreetmap-website/issues/2472 require: - rubocop-performance - rubocop-rails - rubocop-rspec # Offense count: 8 # Configuration parameters: Include. # Include: app/models/**/*.rb Rails/HasManyOrHasOneDependent: Exclude: - 'app/models/article.rb' - 'app/models/organization.rb' - 'app/models/user.rb'