Sha256: c69a641fc5dd5c2833ccaa0060906c12f9a272d13d66852d3f8395185d3ebaa5
Contents?: true
Size: 1.56 KB
Versions: 5
Compression:
Stored size: 1.56 KB
Contents
inherit_from: .rubocop_todo.yml AllCops: DisplayCopNames: true TargetRubyVersion: 2.3 Layout/CaseIndentation: EnforcedStyle: end Layout/IndentFirstArrayElement: EnforcedStyle: consistent Layout/IndentFirstHashElement: EnforcedStyle: consistent # This can be re-enabled once we're 2.3+ only and can use the squiggly heredoc # operator. Prior to that, Rubocop recommended bringing in a library like # ActiveSupport to get heredoc indentation, which is just terrible. Layout/IndentHeredoc: Enabled: false Metrics/BlockLength: Max: 40 Exclude: # `context` in tests are blocks and get quite large, so exclude the test # directory from having to adhere to this rule. - "test/**/*.rb" Metrics/ClassLength: Exclude: # Test classes get quite large, so exclude the test directory from having # to adhere to this rule. - "test/**/*.rb" Metrics/LineLength: Exclude: - "lib/stripe/resources/**/*.rb" - "test/**/*.rb" Metrics/MethodLength: # There's ~2 long methods in `StripeClient`. If we want to truncate those a # little, we could move this to be closer to ~30 (but the default of 10 is # probably too short). Max: 50 Metrics/ModuleLength: Enabled: false Style/AccessModifierDeclarations: EnforcedStyle: inline Style/FrozenStringLiteralComment: EnforcedStyle: always Style/NumericPredicate: Enabled: false Style/StringLiterals: EnforcedStyle: double_quotes Style/TrailingCommaInArrayLiteral: EnforcedStyleForMultiline: consistent_comma Style/TrailingCommaInHashLiteral: EnforcedStyleForMultiline: consistent_comma
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
stripe-5.5.0 | .rubocop.yml |
stripe-5.4.1 | .rubocop.yml |
stripe-5.4.0 | .rubocop.yml |
stripe-5.3.0 | .rubocop.yml |
stripe-5.2.0 | .rubocop.yml |