A repository's root .gitattributes now decides a file's review layer first: dsh-review-layer names test, interface, or implementation, and linguist-generated still places a file in the test layer. The testPaths and interfacePaths settings add globs before the built-in rules and are empty by default. The built-in rules follow the default conventions of common languages and tools instead of treating every JSON or YAML file and every name containing config as interface. This repository declares its own locale dictionaries, snapshot tree, pairing records, and types modules.
28 lines
1.3 KiB
Plaintext
28 lines
1.3 KiB
Plaintext
# The repo's canonical text form is LF, enforced at checkout too: no smudge
|
|
# boundary between working tree and repo, so byte-level gates (verify-*
|
|
# comparisons, blob hashing, coverage offsets) see one form on every host.
|
|
# Windows command scripts require CRLF in the working tree for cmd.exe; the
|
|
# override after the default keeps the in-repo form normalized as text.
|
|
* text=auto eol=lf
|
|
*.cmd text eol=crlf
|
|
|
|
*.pdf binary
|
|
|
|
# The persistence catalog is the readable projection of these generated schemas.
|
|
docs/persistence-schema.json linguist-generated=true
|
|
docs/persistence-changes/*.schema.json linguist-generated=true
|
|
docs/persistence-changes/releases/*.schema.json linguist-generated=true
|
|
docs/persistence-changes/historical-formats/*.schema.json linguist-generated=true
|
|
|
|
# Unified patch blank context lines require their leading space.
|
|
patches/*.patch whitespace=-blank-at-eol
|
|
|
|
# Review layers of the forge changes view (dsh-review-layer), for this repository's own conventions:
|
|
# plugin locale dictionaries and the session snapshot tree hide with test files, generated bilingual
|
|
# pairing records join them, and a package's types-only module is part of its interface.
|
|
packages/*/*/locale/*.json dsh-review-layer=test
|
|
locales.ts dsh-review-layer=test
|
|
snapshots/** dsh-review-layer=test
|
|
*.i18n.yaml dsh-review-layer=test
|
|
packages/*/*/src/types.ts dsh-review-layer=interface
|