Skip to content

Commit 8d57be2

Browse files
authored
Update the content-linter readme to be LLM-friendly (#58407)
1 parent fb120b3 commit 8d57be2

File tree

2 files changed

+108
-145
lines changed

2 files changed

+108
-145
lines changed

.github/instructions/code.instructions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ For code reviews, follow guidelines, tests, and validate instructions. For creat
1616
- Avoid pull requests with over 300 lines of code changed. When significantly larger, offer to split up into smaller pull requests if possible.
1717
- All new code should be written in TypeScript and not JavaScript.
1818
- We use absolute imports, relative to the `src` directory, using the `@` symbol. For example, `getRedirect` which lives in `src/redirects/lib/get-redirect.ts` can be imported with `import getRedirect from '@/redirects/lib/get-redirect'`. The same rule applies for TypeScript (`.ts`) imports, e.g. `import type { GeneralSearchHit } from '@/search/types'`
19+
- For updates to the content linter, read important information in `src/content-linter/README.md`.
1920

2021
## Tests
2122

0 commit comments

Comments
 (0)