require: - rubocop-performance - rubocop-rspec AllCops: TargetRubyVersion: 2.5 Exclude: - bin/**/* Layout/ParameterAlignment: EnforcedStyle: with_fixed_indentation Layout/DotPosition: EnforcedStyle: trailing Layout/EndAlignment: AutoCorrect: true EnforcedStyleAlignWith: variable Layout/FirstArrayElementIndentation: EnforcedStyle: consistent Layout/MultilineMethodCallIndentation: EnforcedStyle: indented Layout/MultilineOperationIndentation: EnforcedStyle: indented Lint/AmbiguousBlockAssociation: Exclude: - spec/**/* Metrics/BlockLength: Exclude: - dear_inventory.gemspec - spec/**/* Metrics/ClassLength: Max: 150 Exclude: - lib/dear_inventory/models/**/* RSpec/BeforeAfterAll: Enabled: false RSpec/ExampleLength: Max: 10 RSpec/MultipleExpectations: Enabled: false RSpec/NestedGroups: Max: 4 RSpec/FilePath: Enabled: false Security/Eval: Enabled: false Style/Documentation: Enabled: false Style/GuardClause: Enabled: false Style/LambdaCall: Enabled: false Style/NegatedIf: Enabled: false Style/RaiseArgs: Enabled: false Style/Send: Enabled: true Style/StringLiterals: EnforcedStyle: double_quotes Style/StringLiteralsInInterpolation: EnforcedStyle: double_quotes Style/TrailingCommaInArrayLiteral: EnforcedStyleForMultiline: consistent_comma Style/TrailingCommaInHashLiteral: EnforcedStyleForMultiline: consistent_comma