Repository navigation
Commit 35746a0
authored
fix(lint): run oxlint through effect-tsgo so the effecttsgo plugin never depends on a node_modules patch (#37)
## Root cause
Lint scripts ran bare `oxlint`, which only recognises the `effecttsgo`
plugin after `prepare` has patched the oxlint binding in `node_modules`.
An install that skips or loses that patch fails with `Unknown plugin:
'effecttsgo'`.
## Fix
Lint scripts call `effect-tsgo oxlint`, which has the plugin built in.
`prepare` stays for bare-oxlint callers but drops `--skip-missing`, so a
missing replacement fails the install.
## Evidence
Fresh worktree on `origin/main`, installed with `--ignore-scripts`, any
patched binding removed:
- before: lint fails with `Unknown plugin: 'effecttsgo'`.
- after: lint exits 0 on the same unpatched install.
Grader change (lint wiring), authorized by the owner; no rule is
weakened.
Co-authored-by: systemfsoftware-bot <318394648+systemfsoftware-bot@users.noreply.github.com>1 parent d56fb6c commit 35746a0
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments