# Check every text file out with LF, on every platform. # # This exists because of a real failure, reported by the kit's acceptance run # (docs/modules/kit-acceptance.md, finding F1): on a default Windows clone, # `npm run check:swagger` failed on a PRISTINE, unedited template. The check # compares the committed swagger-fragment.json against what the generator writes; # the generator writes LF, and core.autocrlf had handed the reader CRLF. The # message blamed "the routes or their annotations", which is the first command the # kit tells a reader to run telling them a false thing about their own work. # # The check itself now normalises line endings before comparing, so this file is # the belt to that pair of braces: it also stops a CRLF blob ever being COMMITTED # by a reader who copies this template, which would break the same check for # everyone who cloned their repo afterwards. # # It travels with the template on purpose — a copied module directory keeps its # own attributes, and this is one of the things the copier should not have to know. * text=auto eol=lf # Nothing here is binary today. If your module ships an image or a font, mark it, # because `text=auto` guesses and a wrong guess corrupts the file: # *.png binary