From 5154b4b63288bd3b7bd27bb36179e8ddd3076f03 Mon Sep 17 00:00:00 2001 From: Adrien Waksberg Date: Tue, 24 Jul 2018 19:05:47 +0200 Subject: [PATCH] chore: update rubocop --- .rubocop.yml | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .rubocop.yml diff --git a/.rubocop.yml b/.rubocop.yml new file mode 100644 index 0000000..d1dedf8 --- /dev/null +++ b/.rubocop.yml @@ -0,0 +1,43 @@ + +AllCops: + Exclude: + - db/**/* + - config/**/* + - bin/* + TargetRubyVersion: 2.4 + +Gemspec/RequiredRubyVersion: + Enabled: false + +Naming/AccessorMethodName: + Enabled: false + +Style/RescueStandardError: + Enabled: false + +Metrics/LineLength: + Max: 120 +Metrics/CyclomaticComplexity: + Enabled: false +Metrics/PerceivedComplexity: + Enabled: false +Metrics/MethodLength: + Enabled: false +Metrics/BlockLength: + Enabled: false +Metrics/ClassLength: + Enabled: false +Metrics/AbcSize: + Enabled: false + +Style/NumericLiteralPrefix: + Enabled: false +Style/FrozenStringLiteralComment: + Enabled: false +Style/CommandLiteral: + Enabled: true + EnforcedStyle: percent_x +Style/Documentation: + Enabled: false +Style/ClassAndModuleChildren: + Enabled: false