inherit_from: .rubocop_todo.yml require: - rubocop-performance - rubocop-rails AllCops: TargetRubyVersion: 2.4 DisplayCopNames: true DisplayStyleGuide: true Include: - '**/Gemfile' - '**/Rakefile' - '**/*.rb' Layout/AlignParameters: EnforcedStyle: with_fixed_indentation IndentationWidth: 4 Layout/IndentFirstArgument: EnforcedStyle: consistent IndentationWidth: 4 Layout/IndentFirstArrayElement: EnforcedStyle: consistent Layout/IndentFirstHashElement: EnforcedStyle: consistent Layout/IndentAssignment: IndentationWidth: 4 Layout/MultilineMethodCallIndentation: EnforcedStyle: indented IndentationWidth: 4 Layout/MultilineOperationIndentation: EnforcedStyle: indented IndentationWidth: 4 Metrics/BlockLength: Exclude: - '*.gemspec' Metrics/LineLength: Max: 107 AllowHeredoc: true AllowURI: true IgnoreCopDirectives: true Naming/FileName: Exclude: - 'activerecord-time.gemspec' - 'lib/activerecord-time.rb' Rails: Enabled: true Security/Eval: Exclude: - 'gemfiles/*.gemfile' Style/Documentation: Enabled: false Style/Encoding: Enabled: true Style/FormatString: EnforcedStyle: percent Style/NumericPredicate: Enabled: false Style/RescueStandardError: EnforcedStyle: implicit Style/SafeNavigation: ConvertCodeThatCanStartToReturnNil: true Style/TrailingCommaInArrayLiteral: EnforcedStyleForMultiline: comma Style/TrailingCommaInHashLiteral: EnforcedStyleForMultiline: comma