X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=.rubocop.yml;h=5b6c3f2dc622a1b439b1789e960cf89e57573fc7;hb=ca8e1ed0aadeae16de197aa5be512fb1ed93b5be;hp=c04818e2055d6fd76b59cab957893657da14aaf5;hpb=5907e840ccad13f28438b413687342b65f3ab900;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