# Generated by `rubocop --auto-gen-config` inherit_from: .rubocop_todo.yml # Exclude temporary files AllCops: Exclude: - tmp/**/* # It’s quite readable when we know what we are doing Lint/AssignmentInCondition: Enabled: false # No need to handle LoadError in Rakefile Lint/HandleExceptions: Exclude: - Rakefile # gemspec is a special snowflake Metrics/LineLength: Exclude: - rom-event_store.gemspec # The enforced style doesn’t match Vim’s defaults Style/AlignParameters: Enabled: false # UTF-8 is perfectly fine in comments Style/AsciiComments: Enabled: false # Allow using braces for value-returning blocks Style/Blocks: Enabled: false # Documentation checked by Inch CI Style/Documentation: Enabled: false # Early returns have their vices Style/GuardClause: Enabled: false # Need to be skipped for >-> usage Style/Lambda: Enabled: false # Multiline block chains are ok Style/MultilineBlockChain: Enabled: false # Even a single escaped slash can be confusing Style/RegexpLiteral: MaxSlashes: 0 # Don’t introduce semantic fail/raise distinction Style/SignalException: EnforcedStyle: only_raise # Need to be skipped for >-> usage Style/SpaceAroundOperators: Enabled: false # Accept both single and double quotes Style/StringLiterals: Enabled: false # Allow def self.foo; @foo; end Style/TrivialAccessors: Enabled: false # This is a shim file for those who require 'rom-mongo' Style/FileName: Exclude: - lib/rom-event_store.rb # Rescue modificar is useful sometimes Style/RescueModifier: Enabled: false