Sha256: 7b0727f10d6e28fce5a95249c1733cc42e0e06486e2c0f2e711915de19d75b18

Contents?: true

Size: 877 Bytes

Versions: 4

Compression:

Stored size: 877 Bytes

Contents

# frozen_string_literal: true

module RubocopException
  # rubocop:disable Rails/SomeRule
  def some_method_with_disabled_rule
  end
  # rubocop:enable Rails/SomeRule

  # rubocop:disable Lint/SomeLint
  def some_method_misspelled_reenable
  end
  # rubocop:enable Lint/SomLint

  # rubocop:disable Metrics/LineLength
  # Disabling because I want to.
  def some_method_with_context
  end
  # rubocop:enable Metrics/LineLength

  # rubocop:disable Metrics/ABC
  # here is my comment why we are disabling ABC
  # Some existing comments
  # Made by another person
  def some_method_with_existing_comments
  end
  # rubocop:enable Metrics/ABC

  def some_method_with_multiline_context
    # rubocop:disable Layout/AlignHash
    # I want to disable this because..
    # I forgot the reasons.
    {
      a: 'a',
        b: 'b'
    }
    # rubocop:enable Layout/AlignHash
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
danger-wcc-0.0.5 spec/fixtures/rubocop_exception.rb
danger-wcc-0.0.4 spec/fixtures/rubocop_exception.rb
danger-wcc-0.0.3 spec/fixtures/rubocop_exception.rb
danger-wcc-0.0.2 spec/fixtures/rubocop_exception.rb