Sha256: 14e8fafe2a97d8ce748377d521e6c032fafe27494f40ee89772cf55dc4720482
Contents?: true
Size: 318 Bytes
Versions: 2
Compression:
Stored size: 318 Bytes
Contents
# frozen_string_literal: true module RuboCop module Cop module Layout # Checks for semicolon (;) preceded by space. class SpaceBeforeSemicolon < Cop include SpaceBeforePunctuation def kind(token) 'semicolon' if token.type == :tSEMI end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubocop-0.49.1 | lib/rubocop/cop/layout/space_before_semicolon.rb |
rubocop-0.49.0 | lib/rubocop/cop/layout/space_before_semicolon.rb |