AllCops: Exclude: - '**/**/*_pb.rb' # auto-generated - "vendor/**/*" DisplayCopNames: true TargetRubyVersion: 2.5 Style/AndOr: EnforcedStyle: conditionals Style/AsciiComments: Enabled: false Style/Documentation: Enabled: false Style/DoubleNegation: Enabled: false Style/EmptyElse: EnforcedStyle: empty Style/FormatString: EnforcedStyle: percent Style/IfUnlessModifier: Enabled: false Style/TrailingCommaInHashLiteral: EnforcedStyleForMultiline: comma Style/TrailingCommaInArguments: EnforcedStyleForMultiline: comma Style/SafeNavigation: Enabled: false Style/WhileUntilModifier: Enabled: false Naming/PredicateName: NamePrefixBlacklist: - "is_" - "have_" NamePrefix: - "is_" - "have_" Style/SignalException: EnforcedStyle: only_raise Style/SingleLineBlockParams: Enabled: false Style/NumericLiterals: Enabled: false Style/GuardClause: Enabled: false Style/NumericPredicate: Enabled: false Metrics/ParameterLists: CountKeywordArgs: false Lint/UnderscorePrefixedVariableName: Enabled: false Metrics/AbcSize: Max: 50 Metrics/CyclomaticComplexity: Max: 10 Metrics/LineLength: Max: 160 Metrics/MethodLength: Max: 40 Metrics/PerceivedComplexity: Max: 20 Metrics/ClassLength: Max: 200 Metrics/BlockLength: Max: 40