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