AllCops: TargetRubyVersion: '2.5' Style/AsciiComments: Enabled: false Metrics/LineLength: Exclude: - 'db/schema.rb' - 'db/migrate/*.rb' - 'app/models/site.rb' Metrics/AbcSize: Exclude: - 'db/schema.rb' - 'db/migrate/*.rb' - 'app/models/site.rb' - 'app/controllers/sites_controller.rb' - 'app/controllers/posts_controller.rb' - 'app/controllers/invitadxs_controller.rb' - 'app/controllers/i18n_controller.rb' - 'app/controllers/usuaries_controller.rb' - 'app/controllers/collaborations_controller.rb' Metrics/MethodLength: Exclude: - 'db/schema.rb' - 'db/migrate/*.rb' - 'app/models/site.rb' - 'app/controllers/sites_controller.rb' - 'app/controllers/posts_controller.rb' - 'app/controllers/invitadxs_controller.rb' - 'app/controllers/i18n_controller.rb' - 'app/controllers/collaborations_controller.rb' - 'app/controllers/usuaries_controller.rb' Metrics/BlockLength: Exclude: - 'config/environments/production.rb' - 'config/initializers/devise.rb' - 'db/schema.rb' Metrics/ClassLength: Exclude: - 'app/models/site.rb' - 'app/controllers/posts_controller.rb' Performance/TimesMap: Exclude: - 'app/models/site.rb' Lint/HandleExceptions: Exclude: - 'app/controllers/posts_controller.rb' Style/GuardClause: Exclude: - 'app/controllers/posts_controller.rb' Metrics/PerceivedComplexity: Exclude: - 'app/controllers/posts_controller.rb' Lint/UnreachableCode: Exclude: - 'app/policies/post_policy.rb'