yast/yast-journal

View on GitHub
.rubocop.yml

Summary

Maintainability
Test Coverage
# use the shared Yast defaults
inherit_from:
  /usr/share/YaST2/data/devtools/data/rubocop_yast_style.yml

# Just raise the default threshold a little bit
Metrics/MethodLength:
  Max: 20

# Just raise the default threshold a little bit
Metrics/AbcSize:
  Max: 20

# We have agreed that 90 is still fine (it fits github view)
Metrics/LineLength:
  Max: 90

# journalctl output is UTF-8, so are the comments explaning it
Style/AsciiComments:
  Enabled: false

# The definition of the widgets takes many lines in the dialogs
Metrics/ClassLength:
  Exclude:
    - 'src/lib/y2journal/query_dialog.rb'