Sha256: f7c7c6ef250162ca2390442342a3be64d4e4494bde65ef27265bc86e459b5e65

Contents?: true

Size: 1.48 KB

Versions: 7

Compression:

Stored size: 1.48 KB

Contents

require:
  - rubocop-rspec
  - rubocop-rails

Rails:
  Enabled: true

Style/Documentation:
  Enabled: true

AllCops:
  NewCops: enable
  SuggestExtensions: false
  DisplayCopNames: true
  TargetRubyVersion: 2.7
  TargetRailsVersion: 5.2
  Exclude:
    - bin/**/*
    - vendor/**/*
    - build/**/*
    - gemfiles/**/*

Metrics/BlockLength:
  Exclude:
    - Rakefile
    - '*.gemspec'
    - spec/**/*.rb
    - '**/*.rake'
    - doc/**/*.rb

# MFA is not yet enabled for our gems yet.
Gemspec/RequireMFA:
  Enabled: false

# We stay with the original Ruby Style Guide recommendation.
Layout/LineLength:
  Max: 80

# Document all the things.
Style/DocumentationMethod:
  Enabled: true
  RequireForNonPublicMethods: true

# It's a deliberate idiom in RSpec.
# See: https://github.com/bbatsov/rubocop/issues/4222
Lint/AmbiguousBlockAssociation:
  Exclude:
    - "spec/**/*"

# Because +expect_any_instance_of().to have_received()+ is not
# supported with the +with(hash_including)+ matchers
RSpec/MessageSpies:
  EnforcedStyle: receive

# Because nesting makes sense here to group the feature tests
# more effective. This increases maintainability.
RSpec/NestedGroups:
  Max: 4

# Disable regular Rails spec paths.
RSpec/FilePath:
  Enabled: false

# Because we just implemented the ActiveRecord API.
Rails/SkipsModelValidations:
  Enabled: false

# We use memoized helpers all over the place to construct inputs and output
# which can be customized at nested contexts easily.
RSpec/MultipleMemoizedHelpers:
  Enabled: false

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
keyless-1.4.0 .rubocop.yml
keyless-1.3.5 .rubocop.yml
keyless-1.3.4 .rubocop.yml
keyless-1.3.3 .rubocop.yml
keyless-1.3.2 .rubocop.yml
keyless-1.3.1 .rubocop.yml
keyless-1.3.0 .rubocop.yml