lib/rubocop/cop/layout/space_inside_brackets.rb



# frozen_string_literal: true

module RuboCop
  module Cop
    module Layout
      # Checks for spaces inside square brackets.
      class SpaceInsideBrackets < Cop
        include SpaceInside

        def specifics
          [
            %i[tLBRACK tLBRACK2],
            :tRBRACK,
            'square brackets'
          ]
        end
      end
    end
  end
end