Sha256: 629432b6afbb32d4ffb7aee82191ebc3959a44e52e3b15a089029f24786eb831
Contents?: true
Size: 477 Bytes
Versions: 4
Compression:
Stored size: 477 Bytes
Contents
module Git module Conform class TabCharacterChecker < FileChecker @file_exclusion_patterns << '.gitconform' # .gitconform is designed to be maintained using the 'git config' # command, which uses tab characters for its indentation purposes @file_exclusion_patterns << '.gitmodules' # .gitmodules uses a format very similar to the 'git config' one! def conforms? super && !content.include?("\t") end end end end
Version data entries
4 entries across 4 versions & 1 rubygems