-
Notifications
You must be signed in to change notification settings - Fork 11
/
.rubocop.yml
81 lines (63 loc) · 1.63 KB
/
.rubocop.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
inherit_from: .rubocop_todo.yml
AllCops:
NewCops: disable
Exclude:
- 'lib/bucky/test_equipment/user_operation/user_operation_helper.rb'
- 'spec/fixtures/**/*'
- 'spec/test_code/**/*'
- 'template/**/*'
- 'tmp/**/*'
- 'vendor/**/*'
TargetRubyVersion: 3.2
Metrics/AbcSize:
Enabled: false
# Allow method prefix start with 'set_' and 'get_'
Naming/AccessorMethodName:
Enabled: false
Metrics/BlockLength:
Exclude:
- 'Rakefile'
- '**/*.rake'
- 'spec/**/*.rb'
- 'bucky-core.gemspec'
- 'lib/bucky/core/database/test_data_operator.rb'
- 'lib/bucky/core/test_core/test_class_generator.rb'
Style/ClassVars:
Exclude:
- 'lib/bucky/test_equipment/selenium_handler/webdriver_handler.rb'
- 'lib/bucky/test_equipment/test_case/abst_test_case.rb'
- 'lib/bucky/utils/config.rb'
- 'lib/bucky/tools/lint.rb'
Metrics/CyclomaticComplexity:
Enabled: false
# Allow missing top-level documentation comment of class
Style/Documentation:
Enabled: false
Style/FrozenStringLiteralComment:
EnforcedStyle: always
Style/GlobalVars:
AllowedVariables: [$bucky_home_dir, $debug, $job_id, $round]
# Not allow using '->' for multi-line lambdas.
Style/Lambda:
Enabled: false
Layout/LineLength:
Enabled: false
Lint/AmbiguousBlockAssociation:
Exclude:
- 'spec/**/*.rb'
Metrics/MethodLength:
Enabled: false
Metrics/ModuleLength:
Max: 140
Exclude:
- 'spec/**/*.rb'
Metrics/PerceivedComplexity:
Enabled: false
Lint/UselessAssignment:
Exclude:
- 'lib/bucky/core/test_core/test_result.rb'
Metrics/ClassLength:
Max: 110
Lint/UselessAccessModifier:
Exclude:
- 'example/**/*'