X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=.rubocop.yml;h=5b6c3f2dc622a1b439b1789e960cf89e57573fc7;hp=c04818e2055d6fd76b59cab957893657da14aaf5;hb=dad14732abc77d9e04b6476d16b12e9e8d99ba02;hpb=74a2757d62f8560d3c809be612bb90d9f626622d 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