X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=.rubocop.yml;h=61ffc1a04425f47f030c712f4ea6a9a0830a3342;hb=ee32b7ab72ffa86772d800c1c4946c4afa2042d9;hp=00479d1357acc7d9eb2f6623c6a705439f1bc825;hpb=31d0a18d3efd13f025633df1cc5a5be7b058f9a3;p=lhc%2Fweb%2Fwiklou.git diff --git a/.rubocop.yml b/.rubocop.yml index 00479d1357..61ffc1a044 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,8 +1,25 @@ -inherit_from: .rubocop_todo.yml - AllCops: - Exclude: - - 'extensions/**/*' - - 'skins/**/*' - - 'tests/frontend/node_modules/**/*' - - 'vendor/**/*' + Exclude: + - 'extensions/**/*' + - '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