From bcc2edbf0ae3c28899d2b8869f763c1cda831b32 Mon Sep 17 00:00:00 2001 From: Washington Botelho Date: Tue, 17 May 2022 23:40:09 -0300 Subject: [PATCH] cnf: updates rubocop todo --- .rubocop_todo.yml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index aaee1d9..ac2d604 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2022-05-18 01:29:38 UTC using RuboCop version 1.29.1. +# on 2022-05-18 02:58:08 UTC using RuboCop version 1.29.1. # 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 @@ -31,9 +31,9 @@ Lint/NoReturnInBeginEndBlocks: # This cop supports unsafe auto-correction (--auto-correct-all). Lint/NonDeterministicRequireOrder: Exclude: - - 'spec/rails_helper.rb' - 'spec/support/factory_bot.rb' - 'spec/support/migrate.rb' + - 'spec/support/models.rb' # Offense count: 1 # Configuration parameters: CountComments, CountAsOne. @@ -51,7 +51,7 @@ Metrics/ParameterLists: # AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339 Naming/VariableNumber: Exclude: - - 'spec/rails_helper.rb' + - 'spec/support/mysql.rb' # Offense count: 9 # This cop supports safe auto-correction (--auto-correct). @@ -123,9 +123,23 @@ Rails/ApplicationRecord: - 'lib/rating/models/rating/rate.rb' - 'lib/rating/models/rating/rating.rb' +# Offense count: 2 +# This cop supports unsafe auto-correction (--auto-correct-all). +# Configuration parameters: Include. +# Include: **/Rakefile, **/*.rake +Rails/RakeEnvironment: + Exclude: + - 'Rakefile' + # Offense count: 2 # This cop supports safe auto-correction (--auto-correct). Rails/RedundantPresenceValidationOnBelongsTo: Exclude: - 'lib/rating/models/rating/rate.rb' - 'lib/rating/models/rating/rating.rb' + +# Offense count: 2 +# This cop supports safe auto-correction (--auto-correct). +Style/FileWrite: + Exclude: + - 'Rakefile'