mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-26 03:04:06 +00:00
docs(agents): update instructions for yarn (#141)
This commit is contained in:
8
.github/AGENTS.md
vendored
8
.github/AGENTS.md
vendored
@@ -4,22 +4,22 @@ These instructions help language models work with this repository.
|
||||
|
||||
## Setup
|
||||
|
||||
1. Run `npm install` to get linting tools and the Bats test framework.
|
||||
1. Run `yarn install` to get linting tools and the Bats test framework.
|
||||
|
||||
## Formatting
|
||||
|
||||
- Format code and docs with Prettier and markdownlint:
|
||||
|
||||
```bash
|
||||
npm run fix:prettier
|
||||
npm run fix:markdown
|
||||
yarn fix:prettier
|
||||
yarn fix:markdown
|
||||
```
|
||||
|
||||
- Shell scripts should pass `shellcheck`.
|
||||
|
||||
## Testing
|
||||
|
||||
- When code changes, run `npm test` to execute Bats tests.
|
||||
- When code changes, run `yarn test` to execute Bats tests.
|
||||
- If only comments or documentation change, tests may be skipped.
|
||||
|
||||
## Commits and PRs
|
||||
|
||||
Reference in New Issue
Block a user