agama/service/.rubocop.yml
José Iván López González d38a79d012 service: Fix rubocop config
- agama.gemspec was renamed, see
  https://github.com/openSUSE/agama/pull/1056.
- The file name was not updated in the rubocop config.
2024-03-08 16:37:06 +00:00

30 lines
752 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/agama/dbus/y2dir/**/*
- agama-yast.gemspec
- package/*.spec
# 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
# be less strict
Metrics/AbcSize:
Max: 32