Update the content-linter readme to be LLM-friendly (#58407)
This commit is contained in:
1
.github/instructions/code.instructions.md
vendored
1
.github/instructions/code.instructions.md
vendored
@@ -16,6 +16,7 @@ For code reviews, follow guidelines, tests, and validate instructions. For creat
|
||||
- Avoid pull requests with over 300 lines of code changed. When significantly larger, offer to split up into smaller pull requests if possible.
|
||||
- All new code should be written in TypeScript and not JavaScript.
|
||||
- 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'`
|
||||
- For updates to the content linter, read important information in `src/content-linter/README.md`.
|
||||
|
||||
## Tests
|
||||
|
||||
|
||||
Reference in New Issue
Block a user