Sha256: 3899ff3557a2e8f9f3ae224621a1ae9161531adabd139c9d12ae0520d96557a7

Contents?: true

Size: 1.62 KB

Versions: 3

Compression:

Stored size: 1.62 KB

Contents

# This file was taken from https://codevault.io/kaeuferportal/dotfiles
# Try to put general rules there and only add the project specific
# rules to the copy in your project folder.

AllCops:
  Exclude:
    - 'db/schema.rb'
    - 'doc/**/*'
    - 'docker_app/**/*'

Style/AsciiComments:
  Enabled: false

Style/Documentation:
  Enabled: false

# Encoding comments are not neccessary in all 2.x versions of ruby, since
# UTF-8 has become the default encoding.
Style/Encoding:
  EnforcedStyle: never
  Enabled: true
  Exclude:
    - '*.gemspec'

# This cop tries to make you use module_funtion instead of extend self
# This is bad because both have their own use-case and should not be used
# and sometimes cannot be used to do the same thing
Style/ModuleFunction:
  Enabled: false

# While it is very often useful to separate numbers after every three digits
# for readability, this mostly doesn't make sense if the number doesn't
# represent an amount but rather an identifier. Thus the use of underscores
# every three digits is recommended but not enforced.
Style/NumericLiterals:
  Enabled: false

# Do not force the same one letter variable names for all occurences of inject
Style/SingleLineBlockParams:
  Enabled: false

# No significant improvement in speed or memory usage apparent. Readability is
# atrocious.
Performance/Casecmp:
  Enabled: false

# Not safe in a rails context, since Relation.count is != Enumerable.count
Performance/Count:
  Enabled: false

# Does not make sense when dealing with non-ActiveRecord like mongoid. that
# Mongoid for example throws error if find_by returns nothing (but we expect
# nil)
Rails/FindBy:
  Enabled: false

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sentry_real_ip-1.1.2 .rubocop.yml
sentry_real_ip-1.1.1 .rubocop.yml
sentry_real_ip-1.1.0 .rubocop.yml