Sha256: 415aa7cf2621db5799b52a2163588059b0e3db2a067ff5f3adecb0e7447f0c21

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

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/Documentation:
  Enabled: false
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: 100
Metrics/ParameterLists:
  Max: 3

Version data entries

1 entries across 1 versions & 1 rubygems

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