Files
Module-Rust/.gitattributes
wtclaude 883438009d chore: repository scaffolding
The org's standard furniture for a new repo: licence, code of conduct, security
policy, contributing guide, issue and pull-request templates, and the ignore
rules. No module yet — that arrives as the first pull request, so this branch
exists to open one against.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016wDDVXWMDz82WqE1i969r4
2026-09-15 19:53:44 -05:00

23 lines
1.2 KiB
Plaintext

# 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