Sha256: 50d08655efff0ebb432c7d23bac06db8f06882e33a00c64c239bfa79349ef3f8

Contents?: true

Size: 998 Bytes

Versions: 1

Compression:

Stored size: 998 Bytes

Contents

<%- if config.dig(:generate, :rails) -%>
AllCops:
  Exclude:
    - "spec/dummy/**/*"
    - "bin/rails"
    - "vendor/**/*"
Rails:
  Enabled: true
<%- end -%>
Style/AndOr:
  EnforcedStyle: conditionals
Style/CaseIndentation:
  IndentOneStep: true
Style/EmptyMethod:
  EnforcedStyle: expanded
Style/MethodDefParentheses:
  EnforcedStyle: require_no_parentheses
Style/NumericLiterals:
  Enabled: false
Style/PercentLiteralDelimiters:
  PreferredDelimiters:
    "%w": "[]"
    "%W": "[]"
    "%i": "[]"
    "%I": "[]"
    "%r": "()"
Style/SafeNavigation:
  Enabled: false
Style/SignalException:
  EnforcedStyle: semantic
Style/SingleLineBlockParams:
  Enabled: false
Style/SpaceInsideHashLiteralBraces:
  EnforcedStyle: no_space
Style/StringLiterals:
  EnforcedStyle: double_quotes
Style/StringLiteralsInInterpolation:
  EnforcedStyle: double_quotes
Style/VariableNumber:
  EnforcedStyle: snake_case
Metrics/BlockLength:
  Exclude:
    - "**/*.gemspec"
    - "spec/**/*"
Metrics/LineLength:
  Max: 120

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gemsmith-8.2.0 lib/gemsmith/templates/%gem_name%/.rubocop.yml.tt