require: - rubocop-rspec - rubocop-packaging - rubocop-performance - rubocop-rake AllCops: DisplayCopNames: true DisplayStyleGuide: true NewCops: enable TargetRubyVersion: 2.6 Exclude: - "tmp/**/*" - "vendor/**/*" Layout/HashAlignment: EnforcedColonStyle: - table - key EnforcedHashRocketStyle: - table - key Layout/SpaceAroundEqualsInParameterDefault: EnforcedStyle: no_space Metrics/AbcSize: Max: 20 Exclude: - "test/**/*" Metrics/BlockLength: Exclude: - "*.gemspec" - "Rakefile" Metrics/ClassLength: Exclude: - "test/**/*" Metrics/MethodLength: Max: 18 Exclude: - "test/**/*" Metrics/ParameterLists: Max: 6 Naming/MemoizedInstanceVariableName: Enabled: false Naming/VariableNumber: Enabled: false Rake/Desc: Enabled: false Style/BarePercentLiterals: EnforcedStyle: percent_q Style/ClassAndModuleChildren: Enabled: false Style/Documentation: Enabled: false Style/DoubleNegation: Enabled: false Style/EmptyMethod: Enabled: false Style/FrozenStringLiteralComment: Enabled: false Style/NumericPredicate: Enabled: false Style/StringLiterals: EnforcedStyle: double_quotes Style/TrivialAccessors: AllowPredicates: true Style/TrailingCommaInArguments: EnforcedStyleForMultiline: comma Style/TrailingCommaInArrayLiteral: EnforcedStyleForMultiline: comma Style/TrailingCommaInHashLiteral: EnforcedStyleForMultiline: comma Style/SpaceAroundEqualsInParameterDefault: EnforcedStyle: space Style/MultilineHashBraceLayout: Enabled: true EnforcedStyle: symmetrical