Sha256: 6ec9f006210a2ae9594f54e435c6963c338784a77cc7239b3e65c5cabb73fb8f

Contents?: true

Size: 1.67 KB

Versions: 1

Compression:

Stored size: 1.67 KB

Contents

require:
  - rubocop-rails
  - rubocop-rspec
  - rubocop-performance

inherit_from:
  - .rubocop_todo.yml

Rails:
  Enabled: true

AllCops:
  NewCops: enable
  Exclude:
    - '*.gemspec'
    - 'Gemfile'
    - vendor/bundle/ruby/**/*

RSpec/NotToNot:
  SupportedStyles: to_not
  # disable because an error is being raised
  Enabled: false

Style/TrailingCommaInArrayLiteral:
  EnforcedStyleForMultiline: consistent_comma
Style/TrailingCommaInHashLiteral:
  EnforcedStyleForMultiline: consistent_comma

Style/Lambda:
  Enabled: false

Layout/EmptyLinesAroundClassBody:
  Enabled: false

Layout/EmptyLinesAroundModuleBody:
  Enabled: false

Layout/EmptyLinesAroundMethodBody:
  Enabled: false

Style/ClassCheck:
  Enabled: false
  # we don't care about kind_of? vs is_a?

Style/StringLiterals:
  Enabled: false

Naming/FileName:
  Enabled: false

Style/RedundantException:
  Enabled: false

Style/SignalException:
  Enabled: false

Style/BlockDelimiters:
  Enabled: false

# Github's PR width is 120 characters
Layout/LineLength:
  Max: 120
  AllowURI: true
  Exclude:
    - spec/**/*

# Align with the style guide, we don't prefer anything
Style/CollectionMethods:
  Enabled: false

Metrics/AbcSize:
  Description: A calculated magnitude based on number of assignments, branches, and
    conditions.
  Enabled: true
  Max: 30

Metrics/BlockLength:
  Max: 25
  AllowedMethods:
    - context
    - describe
    - define

Rails/RakeEnvironment:
  Exclude:
    - 'Rakefile'

Rails/ApplicationJob:
  Exclude:
    - 'lib/webhook_system/job.rb'

Rails/ApplicationRecord:
  Exclude:
    - 'lib/webhook_system/event_log.rb'
    - 'lib/webhook_system/subscription.rb'
    - 'lib/webhook_system/subscription_topic.rb'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
webhook_system-2.4.1 .rubocop.yml