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 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 ## 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. 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.
```bash
nix develop # or: direnv allow (uses .envrc → `use flake`)
```
-1
View File
@@ -16,7 +16,6 @@
const EM_DASH = '\u2014'; const EM_DASH = '\u2014';
const EMDASH_REGEX = /\u2014/g; const EMDASH_REGEX = /\u2014/g;
const PROCESSED_ATTR = 'data-emdash-processed';
const POPUP_ID = 'emdash-popup'; const POPUP_ID = 'emdash-popup';
// Tags whose text content we should never touch // Tags whose text content we should never touch