Sha256: f70ce45c1314fcbf20a28cba61054d039997dd13f0418ee346887e410e85231a

Contents?: true

Size: 488 Bytes

Versions: 3

Compression:

Stored size: 488 Bytes

Contents

# typed: strict
# frozen_string_literal: true

module RuboCop
  module Packs
    module Private
      class Configuration
        extend T::Sig

        sig { returns(T::Array[String]) }
        attr_accessor :permitted_pack_level_cops

        sig { void }
        def initialize
          @permitted_pack_level_cops = T.let([], T::Array[String])
        end

        sig { void }
        def bust_cache!
          @permitted_pack_level_cops = []
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rubocop-packs-0.0.13 lib/rubocop/packs/private/configuration.rb
rubocop-packs-0.0.12 lib/rubocop/packs/private/configuration.rb
rubocop-packs-0.0.11 lib/rubocop/packs/private/configuration.rb