Sha256: 5d29b9b126514525c947ebd4c7be61d56fbad9ef663dff456d9928194c290c45

Contents?: true

Size: 899 Bytes

Versions: 26

Compression:

Stored size: 899 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 { returns(T::Array[String]) }
        attr_accessor :required_pack_level_cops

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

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

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

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
rubocop-packs-0.0.39 lib/rubocop/packs/private/configuration.rb
rubocop-packs-0.0.38 lib/rubocop/packs/private/configuration.rb
rubocop-packs-0.0.37 lib/rubocop/packs/private/configuration.rb
rubocop-packs-0.0.36 lib/rubocop/packs/private/configuration.rb
rubocop-packs-0.0.35 lib/rubocop/packs/private/configuration.rb
rubocop-packs-0.0.34 lib/rubocop/packs/private/configuration.rb
rubocop-packs-0.0.33 lib/rubocop/packs/private/configuration.rb
rubocop-packs-0.0.32 lib/rubocop/packs/private/configuration.rb
rubocop-packs-0.0.31 lib/rubocop/packs/private/configuration.rb
rubocop-packs-0.0.30 lib/rubocop/packs/private/configuration.rb
rubocop-packs-0.0.29 lib/rubocop/packs/private/configuration.rb
rubocop-packs-0.0.28 lib/rubocop/packs/private/configuration.rb
rubocop-packs-0.0.27 lib/rubocop/packs/private/configuration.rb
rubocop-packs-0.0.26 lib/rubocop/packs/private/configuration.rb
rubocop-packs-0.0.25 lib/rubocop/packs/private/configuration.rb
rubocop-packs-0.0.24 lib/rubocop/packs/private/configuration.rb
rubocop-packs-0.0.23 lib/rubocop/packs/private/configuration.rb
rubocop-packs-0.0.22 lib/rubocop/packs/private/configuration.rb
rubocop-packs-0.0.21 lib/rubocop/packs/private/configuration.rb
rubocop-packs-0.0.20 lib/rubocop/packs/private/configuration.rb