X-Git-Url: https://git.cyclocoop.org/admin/?a=blobdiff_plain;f=.rubocop.yml;h=5b6c3f2dc622a1b439b1789e960cf89e57573fc7;hb=474b445a1df7a6ce0930dbe633e067c5df0ba712;hp=c04818e2055d6fd76b59cab957893657da14aaf5;hpb=8cda194598fd64774c056a04a44573c1c4e5acec;p=lhc%2Fweb%2Fwiklou.git diff --git a/.rubocop.yml b/.rubocop.yml index c04818e205..5b6c3f2dc6 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,11 +1,26 @@ -inherit_from: .rubocop_todo.yml - AllCops: - Exclude: - - 'extensions/**/*' - - 'skins/**/*' - - 'tests/frontend/node_modules/**/*' - - 'vendor/**/*' + Exclude: + - 'extensions/**/*' + - 'node_modules/**/*' + - 'skins/**/*' + - 'tests/frontend/node_modules/**/*' + - 'vendor/**/*' + StyleGuideCopsOnly: true Metrics/LineLength: Max: 100 + +Metrics/MethodLength: + Enabled: false + +Style/Alias: + Enabled: false + +Style/SignalException: + Enabled: false + +Style/StringLiterals: + EnforcedStyle: single_quotes + +Style/TrivialAccessors: + ExactNameMatch: true