Sha256: 951ff90451f178e1e638258b87b365c34775818bc3f721ba308c169cf737eae6

Contents?: true

Size: 180 Bytes

Versions: 4

Compression:

Stored size: 180 Bytes

Contents

module Git
  module Conform
    class TrailingWhitespaceChecker < FileChecker

      def conforms?
        super && content.match(/[[:blank:]]$/).nil?
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
git-conform-1.3.0 lib/git/conform/checkers/trailing_whitespace_checker.rb
git-conform-1.2.1 lib/git/conform/checkers/trailing_whitespace_checker.rb
git-conform-1.1.0 lib/git/conform/checkers/trailing_whitespace_checker.rb
git-conform-1.0.0 lib/git/conform/checkers/trailing_whitespace_checker.rb