forked from whitesmith/rubycritic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
94 lines (77 loc) · 2.18 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
82
83
84
85
86
87
88
89
90
91
92
93
94
require:
- rubocop-minitest
- rubocop-performance
- rubocop-rake
AllCops:
DisplayCopNames: true
NewCops: enable
Exclude:
- 'test/samples/**/*'
- 'tmp/**/*'
- 'vendor/**/*'
- 'gemfiles/*'
TargetRubyVersion: 3.1
Metrics/BlockLength:
Enabled: false
Metrics/MethodLength:
Exclude:
- "lib/rubycritic/configuration.rb"
Layout/LineLength:
Max: 120
Style/Documentation:
Enabled: false
Style/HashSyntax:
EnforcedShorthandSyntax: either
Security/MarshalLoad:
Enabled: false
Include:
- 'lib/rubycritic/serializer.rb'
Style/RedundantFreeze:
Enabled: false
Include:
- 'lib/rubycritic/core/smell.rb'
- 'lib/rubycritic/generators/json/simple.rb'
- 'lib/rubycritic/revision_comparator.rb'
- 'lib/rubycritic/source_control_systems/perforce.rb'
- 'lib/rubycritic/source_locator.rb'
- 'lib/rubycritic/version.rb'
Layout/BlockAlignment:
Enabled: false
Exclude:
- 'features/step_definitions/rake_task_steps.rb'
Naming/RescuedExceptionsVariableName:
Exclude:
- 'lib/rubycritic/analysers/coverage.rb'
- 'lib/rubycritic/cli/application.rb'
- 'lib/rubycritic/reporter.rb'
Lint/EmptyClass:
Exclude:
- 'test/lib/rubycritic/reporter_test.rb'
Lint/ConstantDefinitionInBlock:
Exclude:
- 'test/lib/rubycritic/reporter_test.rb'
Style/OpenStructUse:
Exclude:
- 'test/lib/rubycritic/generators/turbulence_test.rb'
- 'test/lib/rubycritic/generators/console_report_test.rb'
- 'test/lib/rubycritic/core/analysed_module_test.rb'
- 'test/analysers_test_helper.rb'
Lint/MissingSuper:
Exclude:
- 'test/analysers_test_helper.rb'
- 'lib/rubycritic/generators/html/overview.rb'
- 'lib/rubycritic/generators/html/simple_cov_index.rb'
- 'lib/rubycritic/generators/html/smells_index.rb'
- 'lib/rubycritic/rake_task.rb'
- 'lib/rubycritic/generators/html/code_file.rb'
- 'lib/rubycritic/generators/html/code_index.rb'
- 'lib/rubycritic/generators/html/line.rb'
Gemspec/DevelopmentDependencies:
Exclude:
- 'rubycritic.gemspec'
Lint/StructNewOverride:
Exclude:
- 'lib/rubycritic/source_control_systems/git/churn.rb'
Metrics/AbcSize:
Exclude:
- 'lib/rubycritic/configuration.rb'