Skip to content

Commit 479f8b0

Browse files
committed
Activate RuboCop linting more effectively
Signed-off-by: Takuya Noguchi <[email protected]>
1 parent e5afde5 commit 479f8b0

File tree

3 files changed

+140
-168
lines changed

3 files changed

+140
-168
lines changed

.rubocop.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
inherit_from: .rubocop_todo.yml
22

33
AllCops:
4+
NewCops: disable
5+
SuggestExtensions: false
46
Exclude:
57
- 'bin/**/*'
68
- 'example/**/*'
@@ -16,8 +18,11 @@ Metrics/AbcSize:
1618
- 'lib/bugsnag/configuration.rb'
1719

1820
Metrics/ClassLength:
21+
Max: 150
1922
Exclude:
23+
- 'lib/bugsnag.rb'
2024
- 'lib/bugsnag/configuration.rb'
25+
- 'lib/bugsnag/report.rb'
2126

2227
Style/RescueModifier:
2328
Enabled: false

0 commit comments

Comments
 (0)