Sha256: 6215943fed5bc87e072a8d16df6f23ad852c660617ff5e8925fa81320f98de5c
Contents?: true
Size: 1.81 KB
Versions: 3
Compression:
Stored size: 1.81 KB
Contents
# I like trailing commas in hashes. They let me insert new elements and # see them as one line in a diff, not two. Style/TrailingCommaInHashLiteral: EnforcedStyleForMultiline: comma Style/TrailingCommaInArrayLiteral: EnforcedStyleForMultiline: comma # I use keyword arguments for a poor man's dependency injection to cut # down on the magic in my tests. Metrics/ParameterLists: CountKeywordArgs: false # If i'm using one function name and returning the contents of an # attribute, that's OK. The alternative would be this, which I find # confusing and often not really what I mean: # # attr_reader :something_else # alias_method :something, :something_else Style/TrivialAccessors: ExactNameMatch: true # # Add 'XX X' to the standard list # Style/CommentAnnotation: Keywords: - "TOD\ O" - "FIXM\ E" - "OPTIMIZ\ E" - "HAC\ K" - "REVIE\ W" - "XX\ X" # https://stackoverflow.com/questions/40934345/rubocop-25-line-block-size-and-rspec-tests Metrics/BlockLength: # Exclude DSLs Exclude: - 'Rakefile' - '*.gemspec' - '**/*.rake' - 'spec/**/*.rb' - 'feature/**/*.rb' # http://www.betterspecs.org/#single # # > in tests that are not isolated (e.g. ones that integrate with a # > DB, an external webservice, or end-to-end-tests), you take a # > massive performance hit to do the same setup over and over again, # > just to set a different expectation in each test. In these sorts # > of slower tests, I think it's fine to specify more than one # > isolated behavior. RSpec/MultipleExpectations: Exclude: - 'feature/**/*.rb' Style/StringLiterals: EnforcedStyle: single_quotes SupportedStyles: - single_quotes - double_quotes ConsistentQuotesInMultiline: true AllCops: TargetRubyVersion: 2.4 require: rubocop-rspec
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pronto-bigfiles-0.1.2 | .rubocop.yml |
pronto-bigfiles-0.1.1 | .rubocop.yml |
pronto-bigfiles-0.1.0 | .rubocop.yml |