-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.rubocop_todo.yml
88 lines (75 loc) · 2.65 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2025-01-17 10:30:08 UTC using RuboCop version 1.70.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
# versions of RuboCop, may require this file to be generated again.
# Offense count: 12
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 35
# Offense count: 2
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
# AllowedMethods: refine
Metrics/BlockLength:
Max: 62
# Offense count: 2
# Configuration parameters: CountComments, CountAsOne.
Metrics/ClassLength:
Max: 141
# Offense count: 22
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
Max: 24
# Offense count: 6
# Configuration parameters: CountAsOne.
RSpec/ExampleLength:
Max: 15
# Offense count: 4
# Configuration parameters: AssignmentOnly.
RSpec/InstanceVariable:
Exclude:
- 'spec/models/spec_language_spec.rb'
- 'spec/views/projects/edit.html.erb_spec.rb'
- 'spec/views/spec_browsers/edit.html.erb_spec.rb'
- 'spec/views/spec_languages/edit.html.erb_spec.rb'
# Offense count: 2
RSpec/MultipleExpectations:
Max: 3
# Offense count: 2
# Configuration parameters: Database, Include.
# SupportedDatabases: mysql, postgresql
# Include: db/**/*.rb
Rails/BulkChangeTable:
Exclude:
- 'db/migrate/20130823141101_add_details_to_test_list.rb'
- 'db/migrate/20171030160221_add_start_options_default_value.rb'
# Offense count: 6
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/HasManyOrHasOneDependent:
Exclude:
- 'app/models/client.rb'
- 'app/models/history.rb'
- 'app/models/server.rb'
- 'app/models/test_list.rb'
# Offense count: 13
# Configuration parameters: ForbiddenMethods, AllowedMethods.
# ForbiddenMethods: decrement!, decrement_counter, increment!, increment_counter, insert, insert!, insert_all, insert_all!, toggle!, touch, touch_all, update_all, update_attribute, update_column, update_columns, update_counters, upsert, upsert_all
Rails/SkipsModelValidations:
Exclude:
- 'app/controllers/concerns/server_thread_methods/thread_manager.rb'
- 'app/models/server.rb'
# Offense count: 1
Security/Open:
Exclude:
- 'app/controllers/concerns/server_thread_methods/html_result_manager.rb'
# Offense count: 86
# Configuration parameters: AllowedConstants.
Style/Documentation:
Enabled: false
# Offense count: 1
Style/MixinUsage:
Exclude:
- 'bin/update'