-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.rubocop_todo.yml
44 lines (38 loc) · 1.36 KB
/
.rubocop_todo.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2022-05-19 02:56:53 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
# versions of RuboCop, may require this file to be generated again.
# Offense count: 5
# Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 41
# Offense count: 2
# Configuration parameters: IgnoredMethods.
Metrics/CyclomaticComplexity:
Max: 12
# Offense count: 4
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
Metrics/MethodLength:
Max: 17
# Offense count: 2
# Configuration parameters: IgnoredMethods.
Metrics/PerceivedComplexity:
Max: 13
# Offense count: 11
Rails/I18nLocaleTexts:
Exclude:
- 'app/controllers/todos/item/complete_controller.rb'
- 'app/controllers/todos/item/uncomplete_controller.rb'
- 'app/controllers/todos/item_controller.rb'
- 'app/controllers/users/passwords_controller.rb'
- 'app/controllers/users/sessions_controller.rb'
- 'app/mailers/user_mailer.rb'
# Offense count: 1
# Configuration parameters: Include.
# Include: db/migrate/*.rb
Rails/NotNullColumn:
Exclude:
- 'db/migrate/20220518110010_add_api_token_to_users.rb'