Fix lint warning and trim AGENTS.md dev-env section

This commit is contained in:
2026-07-08 12:03:46 -04:00
parent d35501c66c
commit 587a3f7aab
2 changed files with 2 additions and 7 deletions
+2 -6
View File
@@ -18,12 +18,8 @@ Each userscript is a single `*.user.js` file at the repo root. A script owns eve
pnpm lint # lint every *.user.js
```
Warnings on third-party/imported scripts are acceptable signal, not blockers. Keep your own scripts warning-clean.
Keep scripts warning-clean.
## Dev Environment
The Nix flake provides `nodejs` + `pnpm`; its `shellHook` runs `pnpm install` and puts `node_modules/.bin` on `PATH`, so `oxlint` is ready automatically.
```bash
nix develop # or: direnv allow (uses .envrc → `use flake`)
```
direnv (`.envrc``use flake`) auto-loads the Nix flake, which provides `nodejs` + `pnpm` and runs `pnpm install` via its `shellHook`, so `oxlint` is on `PATH` automatically.