Skip to content

Commit 69b58a1

Browse files
committed
docs(agents.md): Add linting guidelines for code quality checks
1 parent f8f8df7 commit 69b58a1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

crates/but/agents.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,8 @@ Usable output goes to `out: &mut OutputChannel`
2222
and auto-update expectations with `SNAPSHOTS=overwrite cargo test -p but`.
2323
* When color is involved, use with `.stdout_eq(snapbox::file!["snapshots/<test-name>/<invocation>.stdout.term.svg"])`, and update it
2424
with `SNAPSHOT=overwrite cargo test -p but`.
25+
26+
### Linting
27+
28+
* use `cargo fmt --check --all` to check for formatting issues.
29+
* use `cargo clippy --fix --allow-dirty` to auto-fix clippy errors.

0 commit comments

Comments
 (0)