Sha256: 1a2e1a8266c8adc43cc26d31c85d63acc62c28d19d7b507164d39e0f596f59e7

Contents?: true

Size: 320 Bytes

Versions: 6

Compression:

Stored size: 320 Bytes

Contents

# encoding: utf-8

module Rubocop
  module Cop
    module Style
      # Checks for semicolon (;) not followed by some kind of space.
      class SpaceAfterSemicolon < Cop
        include SpaceAfterPunctuation

        def kind(token)
          'semicolon' if token.type == :tSEMI
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rubocop-0.22.0 lib/rubocop/cop/style/space_after_semicolon.rb
rubocop-0.21.0 lib/rubocop/cop/style/space_after_semicolon.rb
rubocop-0.20.1 lib/rubocop/cop/style/space_after_semicolon.rb
rubocop-0.20.0 lib/rubocop/cop/style/space_after_semicolon.rb
rubocop-0.19.1 lib/rubocop/cop/style/space_after_semicolon.rb
rubocop-0.19.0 lib/rubocop/cop/style/space_after_semicolon.rb