Skip to content

Commit

Permalink
feat(account invitation): update rubocop config
Browse files Browse the repository at this point in the history
  • Loading branch information
andreybakanovsky committed Aug 24, 2023
1 parent e8611d7 commit ff68fe1
Showing 1 changed file with 71 additions and 10 deletions.
81 changes: 71 additions & 10 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config --exclude-limit 10000`
# on 2023-08-22 14:43:11 UTC using RuboCop version 1.56.0.
# on 2023-08-24 12:18:04 UTC using RuboCop version 1.56.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
Expand All @@ -23,17 +23,25 @@ Layout/ArgumentAlignment:
- 'bin/webpack'
- 'bin/webpack-dev-server'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowForAlignment.
Layout/CommentIndentation:
Exclude:
- 'app/controllers/errors.rb'

# Offense count: 6
# This cop supports safe autocorrection (--autocorrect).
Layout/EmptyLineAfterGuardClause:
Exclude:
- 'bin/bundle'

# Offense count: 1
# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
Layout/EmptyLines:
Exclude:
- 'db/migrate/20211106224319_devise_create_users.rb'
- 'spec/routing/account_invitations_routing_spec.rb'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Expand All @@ -43,6 +51,21 @@ Layout/EmptyLinesAroundBlockBody:
Exclude:
- 'db/schema.rb'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only
Layout/EmptyLinesAroundClassBody:
Exclude:
- 'app/controllers/users/registrations_controller.rb'

# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: IndentationWidth.
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
Layout/FirstArrayElementIndentation:
EnforcedStyle: consistent

# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBrackets.
Expand Down Expand Up @@ -88,13 +111,14 @@ Layout/SpaceInsideParens:
- 'spec/controllers/transactions_spec.rb'
- 'spec/mailers/transactions_spec.rb'

# Offense count: 15
# Offense count: 16
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: final_newline, final_blank_line
Layout/TrailingEmptyLines:
Exclude:
- '.pryrc'
- 'app/controllers/errors.rb'
- 'app/controllers/users/registrations_controller.rb'
- 'config/initializers/bulma_form_builder.rb'
- 'spec/controllers/account_automatic_topup_configs_spec.rb'
Expand Down Expand Up @@ -124,6 +148,13 @@ Layout/TrailingWhitespace:
- 'spec/controllers/objectives_spec.rb'
- 'spec/rails_helper.rb'

# Offense count: 2
# Configuration parameters: AllowComments, AllowEmptyLambdas.
Lint/EmptyBlock:
Exclude:
- 'spec/views/account_invitations/edit.html.erb_spec.rb'
- 'spec/views/account_invitations/new.html.erb_spec.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Lint/UselessAssignment:
Expand All @@ -135,7 +166,7 @@ Lint/UselessAssignment:
Metrics/AbcSize:
Max: 19

# Offense count: 10
# Offense count: 11
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
# AllowedMethods: refine
Metrics/BlockLength:
Expand Down Expand Up @@ -170,33 +201,37 @@ Style/BlockComments:
Exclude:
- 'spec/spec_helper.rb'

# Offense count: 1
# Offense count: 2
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: nested, compact
Style/ClassAndModuleChildren:
Exclude:
- 'app/controllers/users/registrations_controller.rb'
- 'app/controllers/users/sessions_controller.rb'

# Offense count: 45
# Offense count: 48
# Configuration parameters: AllowedConstants.
Style/Documentation:
Exclude:
- 'spec/**/*'
- 'test/**/*'
- 'app/actions/application_action.rb'
- 'app/actions/automatic_topup_action.rb'
- 'app/controllers/accept_account_invitations_controller.rb'
- 'app/controllers/account_automatic_topup_configs_controller.rb'
- 'app/controllers/account_invitations_controller.rb'
- 'app/controllers/accounts_controller.rb'
- 'app/controllers/application_controller.rb'
- 'app/controllers/errors.rb'
- 'app/controllers/home_controller.rb'
- 'app/controllers/my_accounts_controller.rb'
- 'app/controllers/objectives_controller.rb'
- 'app/controllers/spends_controller.rb'
- 'app/controllers/topups_controller.rb'
- 'app/controllers/transactions_controller.rb'
- 'app/controllers/users/registrations_controller.rb'
- 'app/controllers/users/sessions_controller.rb'
- 'app/helpers/accounts_helper.rb'
- 'app/helpers/application_helper.rb'
- 'app/helpers/home_helper.rb'
Expand Down Expand Up @@ -230,7 +265,7 @@ Style/Documentation:
- 'db/migrate/20230817120303_remove_indexes_from_account_invitations.rb'
- 'db/migrate/20230818090609_add_foreign_key_to_account_invitations.rb'

# Offense count: 9
# Offense count: 8
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: compact, expanded
Expand All @@ -239,7 +274,6 @@ Style/EmptyMethod:
- 'app/controllers/account_automatic_topup_configs_controller.rb'
- 'app/controllers/accounts_controller.rb'
- 'app/controllers/home_controller.rb'
- 'app/controllers/my_accounts_controller.rb'
- 'app/controllers/objectives_controller.rb'
- 'app/controllers/spends_controller.rb'
- 'app/controllers/topups_controller.rb'
Expand All @@ -266,7 +300,7 @@ Style/FetchEnvVar:
- 'bin/bundle'
- 'config/environments/production.rb'

# Offense count: 96
# Offense count: 107
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: always, always_true, never
Expand All @@ -279,17 +313,20 @@ Style/FrozenStringLiteralComment:
- 'app/actions/automatic_topup_action.rb'
- 'app/channels/application_cable/channel.rb'
- 'app/channels/application_cable/connection.rb'
- 'app/controllers/accept_account_invitations_controller.rb'
- 'app/controllers/account_automatic_topup_configs_controller.rb'
- 'app/controllers/account_invitations_controller.rb'
- 'app/controllers/accounts_controller.rb'
- 'app/controllers/application_controller.rb'
- 'app/controllers/errors.rb'
- 'app/controllers/home_controller.rb'
- 'app/controllers/my_accounts_controller.rb'
- 'app/controllers/objectives_controller.rb'
- 'app/controllers/spends_controller.rb'
- 'app/controllers/topups_controller.rb'
- 'app/controllers/transactions_controller.rb'
- 'app/controllers/users/registrations_controller.rb'
- 'app/controllers/users/sessions_controller.rb'
- 'app/helpers/accounts_helper.rb'
- 'app/helpers/application_helper.rb'
- 'app/helpers/home_helper.rb'
Expand Down Expand Up @@ -351,6 +388,7 @@ Style/FrozenStringLiteralComment:
- 'db/schema.rb'
- 'db/seeds.rb'
- 'lib/tasks/scheduler.rake'
- 'spec/controllers/accept_account_invitations_spec.rb'
- 'spec/controllers/account_automatic_topup_configs_spec.rb'
- 'spec/controllers/account_invitations_spec.rb'
- 'spec/controllers/accounts_spec.rb'
Expand All @@ -365,9 +403,16 @@ Style/FrozenStringLiteralComment:
- 'spec/factories/account_invitations.rb'
- 'spec/factories/transaction.rb'
- 'spec/factories/user.rb'
- 'spec/helpers/accept_account_invitations_helper_spec.rb'
- 'spec/mailers/transactions_spec.rb'
- 'spec/rails_helper.rb'
- 'spec/requests/accept_account_invitations_spec.rb'
- 'spec/routing/account_invitations_routing_spec.rb'
- 'spec/spec_helper.rb'
- 'spec/views/account_invitations/edit.html.erb_spec.rb'
- 'spec/views/account_invitations/index.html.erb_spec.rb'
- 'spec/views/account_invitations/new.html.erb_spec.rb'
- 'spec/views/account_invitations/show.html.erb_spec.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Expand All @@ -392,6 +437,16 @@ Style/IfUnlessModifier:
- 'app/controllers/topups_controller.rb'
- 'bin/bundle'

# Offense count: 5
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowedMethods, AllowedPatterns.
Style/MethodCallWithoutArgsParentheses:
Exclude:
- 'spec/views/account_invitations/edit.html.erb_spec.rb'
- 'spec/views/account_invitations/index.html.erb_spec.rb'
- 'spec/views/account_invitations/new.html.erb_spec.rb'
- 'spec/views/account_invitations/show.html.erb_spec.rb'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: MinDigits, Strict, AllowedNumbers, AllowedPatterns.
Expand Down Expand Up @@ -445,7 +500,7 @@ Style/StderrPuts:
Exclude:
- 'bin/yarn'

# Offense count: 178
# Offense count: 223
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
# SupportedStyles: single_quotes, double_quotes
Expand Down Expand Up @@ -473,6 +528,12 @@ Style/StringLiterals:
- 'spec/controllers/topups_spec.rb'
- 'spec/mailers/transactions_spec.rb'
- 'spec/rails_helper.rb'
- 'spec/requests/accept_account_invitations_spec.rb'
- 'spec/routing/account_invitations_routing_spec.rb'
- 'spec/views/account_invitations/edit.html.erb_spec.rb'
- 'spec/views/account_invitations/index.html.erb_spec.rb'
- 'spec/views/account_invitations/new.html.erb_spec.rb'
- 'spec/views/account_invitations/show.html.erb_spec.rb'

# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
Expand Down

0 comments on commit ff68fe1

Please sign in to comment.