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