mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-27 06:58:16 +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
|
## 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
|
## Formatting
|
||||||
|
|
||||||
- Format code and docs with Prettier and markdownlint:
|
- Format code and docs with Prettier and markdownlint:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm run fix:prettier
|
yarn fix:prettier
|
||||||
npm run fix:markdown
|
yarn fix:markdown
|
||||||
```
|
```
|
||||||
|
|
||||||
- Shell scripts should pass `shellcheck`.
|
- Shell scripts should pass `shellcheck`.
|
||||||
|
|
||||||
## Testing
|
## 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.
|
- If only comments or documentation change, tests may be skipped.
|
||||||
|
|
||||||
## Commits and PRs
|
## Commits and PRs
|
||||||
|
|||||||
Reference in New Issue
Block a user