cnf: updates rubocop todo

main
Washington Botelho 2022-05-17 23:40:09 -03:00
parent 52b4785161
commit bcc2edbf0a
1 changed files with 17 additions and 3 deletions

View File

@ -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'