agama/service/.rubocop.yml
José Iván López González 9cfa937cd1 Configure rubocop
2022-11-11 16:00:29 +00:00

25 lines
692 B
YAML

# use the shared Yast defaults
inherit_from:
/usr/share/YaST2/data/devtools/data/rubocop-1.24.1_yast_style.yml
# vendor is not controlled by us and y2dir is often modified old yast code that
# we do not want to rewrite now
AllCops:
Exclude:
- vendor/**/*
- lib/dinstaller/dbus/y2dir/**/*
- d-installer.gemspec
# a D-Bus method definition may take up more line lenght than usual
Layout/LineLength:
IgnoredPatterns:
- dbus_method
# a D-Bus interface definition may take up more lines than a regular method
Metrics/BlockLength:
IgnoredMethods:
- dbus_interface
# assignment in method calls is used to document some params
Lint/UselessAssignment:
Enabled: false