diff --git a/.rubocop.yml b/.rubocop.yml index 314c5196..c04ec855 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -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: @@ -10,6 +10,10 @@ Metrics/AbcSize: Metrics/BlockNesting: Max: 5 +Metrics/BlockLength: + Exclude: + - "test/**/*" + # Offense count: 6 # Configuration parameters: CountComments. Metrics/ClassLength: @@ -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 +