Sha256: 7410da979cecabd7fae607be2f78c1d508ab669797831f8c97d0b3cb524078e5
Contents?: true
Size: 1.12 KB
Versions: 7
Compression:
Stored size: 1.12 KB
Contents
require: - rubocop-rake - rubocop-rspec AllCops: NewCops: enable Style/HashSyntax: EnforcedShorthandSyntax: never ########## Gemspec Rules # Disabling this as all the gem publishing will be done within CI and doesn't allow for user input such as an MFA code. Gemspec/RequireMFA: Enabled: false Gemspec/DevelopmentDependencies: EnforcedStyle: gemspec ########## Metrics / Max Lengths Rules Layout/LineLength: Max: 300 Metrics/AbcSize: Max: 140 Metrics/BlockLength: Max: 80 Exclude: - spec/**/*_spec.rb - spec/**/shared_examples_*.rb Metrics/ClassLength: Max: 300 Metrics/MethodLength: Max: 150 Metrics/ModuleLength: Max: 300 Exclude: - spec/**/*_spec.rb Metrics/ParameterLists: Max: 10 ########## Metrics / Complexity Metrics/CyclomaticComplexity: Max: 20 Metrics/PerceivedComplexity: Max: 20 ########## RSpec Rules # We are not strict to the point that we want to enforce super-short `it '…' do … end` blocks in our specs. RSpec/ExampleLength: Enabled: false # Same for number of let/subject RSpec/MultipleMemoizedHelpers: Enabled: false RSpec/MultipleExpectations: Max: 2
Version data entries
7 entries across 7 versions & 1 rubygems