Sha256: da9f2b12be67e9318135a425aa05772c25be6468756aa674a41fca7dccb80a86
Contents?: true
Size: 1.52 KB
Versions: 5
Compression:
Stored size: 1.52 KB
Contents
# Rubocop linting options AllCops: TargetRubyVersion: 2.4 # Modern Ruby # !!defined?(RSpec) Style/DoubleNegation: Enabled: false # attr_reader *%i[a b c] Lint/UnneededSplatExpansion: Enabled: false # Needed for the server pid Style/GlobalVars: Exclude: - 'spec/system_spec.rb' # Aruba uses modifiable strings Style/FrozenStringLiteralComment: Exclude: - 'spec/system_spec.rb' # For long specs. # # describe 'some spec' # ... # end # describe 'some spec' Style/CommentedKeyword: Exclude: - 'spec/system_spec.rb' # The default is a bit restrictive Metrics/AbcSize: Max: 30 # The default is a bit restrictive Metrics/ClassLength: Max: 145 # <<~OUTPUT.gsub /^\s+/, '' Lint/AmbiguousRegexpLiteral: Enabled: false Metrics/BlockLength: Exclude: - 'whatup.gemspec' - 'spec/**/*_spec.rb' Metrics/MethodLength: Max: 20 # 10 is a bit too low # Don't type unneccesary () Style/MethodDefParentheses: EnforcedStyle: require_no_parentheses # { } for blocks, {} for hashes Layout/SpaceInsideHashLiteralBraces: EnforcedStyle: no_space # while line = gets do # ... # end Lint/AssignmentInCondition: Enabled: false # outcome = some_really_long_event \ # ? choice_a # : choice_a Style/MultilineTernaryOperator: Enabled: false # Encouraging a comment above every single module or class oftentimes leads to # redundant comments that are odds with the design principle of writing # simple, readable code Style/Documentation: Enabled: false # [a, b, c].map &:to_f Lint/AmbiguousOperator: Enabled: false
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
whatup-0.3.4 | .rubocop.yml |
whatup-0.3.3 | .rubocop.yml |
whatup-0.3.2 | .rubocop.yml |
whatup-0.3.1 | .rubocop.yml |
whatup-0.3.0 | .rubocop.yml |