Skip to content

Commit

Permalink
Some rubocop changes
Browse files Browse the repository at this point in the history
  • Loading branch information
teclator committed Nov 16, 2021
1 parent 4851a5c commit 6349054
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# use the shared Yast defaults
inherit_from:
/usr/share/YaST2/data/devtools/data/rubocop_yast_style.yml
/usr/share/YaST2/data/devtools/data/rubocop-0.71.0_yast_style.yml

# Offense count: 82
Metrics/AbcSize:
Expand All @@ -10,6 +10,10 @@ Metrics/AbcSize:
Metrics/BlockNesting:
Max: 5

Metrics/BlockLength:
Exclude:
- "test/**/*"

# Offense count: 6
# Configuration parameters: CountComments.
Metrics/ClassLength:
Expand Down Expand Up @@ -96,3 +100,7 @@ Style/VariableName:
- 'src/modules/IUCVTerminalServer.rb'
- 'src/modules/OnPanic.rb'

# this needs more testing if we can have frozen string literals
Style/FrozenStringLiteralComment:
Enabled: false

0 comments on commit 6349054

Please sign in to comment.