Sha256: 8025033d38dc3ca3a606ace4bd2e09576796fc5ca603831a782ff8fc891007ab

Contents?: true

Size: 283 Bytes

Versions: 1

Compression:

Stored size: 283 Bytes

Contents

# frozen_string_literal: true

def is_single_space(token)
  token.type == :WHITESPACE && token.value == ' '
end

def new_single_space
  PuppetLint::Lexer::Token.new(:WHITESPACE, ' ', 0, 0)
end

def after_bracket_tokens
  %i[RBRACE RBRACK RPAREN SEMIC COMMA COLON NEWLINE DQPOST]
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
puppet-lint-manifest_whitespace-check-0.1.4 lib/puppet-lint/plugins/tools.rb