X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=.rubocop.yml;h=61ffc1a04425f47f030c712f4ea6a9a0830a3342;hp=c04818e2055d6fd76b59cab957893657da14aaf5;hb=b51076a84446d157bed511246450e70d26e0f945;hpb=61b2f07f6b4eb3ff676130126b40f519e125690c diff --git a/.rubocop.yml b/.rubocop.yml index c04818e205..61ffc1a044 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,11 +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