# See full list of defaults here: https://github.com/bbatsov/rubocop/blob/master/config/default.yml # To see all cops used see here: https://github.com/bbatsov/rubocop/blob/master/config/enabled.yml AllCops: DisplayCopNames: true TargetRubyVersion: 2.4 Layout/CaseIndentation: Enabled: false <% if cucumber -%> Lint/AmbiguousBlockAssociation: Enabled: false <% end -%> Lint/AmbiguousRegexpLiteral: Enabled: false Metrics/BlockLength: Enabled: false Metrics/LineLength: Max: 120 Metrics/ModuleLength: Max: 150 Style/CaseEquality: Enabled: false Style/Documentation: Enabled: false Style/EmptyElse: Enabled: false Style/FrozenStringLiteralComment: Enabled: false <% if turnip -%> Style/MixinGrouping: EnforcedStyle: separated Exclude: - '**/*_steps.rb' <% end -%> <% if cucumber || turnip -%> Style/SymbolProc: Exclude: <% if cucumber -%> - 'features/step_definitions/**/*.rb' <%- end -%> <% if turnip -%> - 'spec/steps/**/*.rb' <%- end -%> <% end -%>