Sha256: b97ea6b348da6356913aada109abee5a630ec387ccde50506d3bff9dcdebf0cc

Contents?: true

Size: 908 Bytes

Versions: 1

Compression:

Stored size: 908 Bytes

Contents

require:
  - rubocop/cop/primer
  - rubocop-rails

####### RUBOCOP'S DEFAULTS #######
# we don't want these in .erb files
Style/FrozenStringLiteralComment:
  Enabled: false

# lots of false-positives in .erb files
Layout/InitialIndentation:
  Enabled: false

Style/StringLiterals:
  EnforcedStyle: double_quotes

# lots of false-positives - this cop is meant for Ruby code, not .erb
Layout/TrailingEmptyLines:
  Enabled: false

# it's often not desirable to add unnecessary newlines into .erb files, as
# they will appear in the rendered HTML
Layout/LineLength:
  Enabled: false

# calling .html_safe in templates is ok
Rails/OutputSafety:
  Enabled: false

####### PRIMER COPS #######
Primer/SystemArgumentInsteadOfClass:
  Enabled: true

Primer/NoTagMemoize:
  Enabled: false

Primer/PrimerOcticon:
  Enabled: true

Primer/DeprecatedArguments:
  Enabled: true

Primer/DeprecatedComponents:
  Enabled: true

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
primer_view_components-0.0.81 lib/rubocop/config/default.yml