Repository navigation
Commit da56d60
authored
fix(lint): run oxlint through effect-tsgo so the effecttsgo plugin never depends on a node_modules patch (#81)
## 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 92f3cd8 commit da56d60
8 files changed
Lines changed: 8 additions & 8 deletions
File tree
- apps
- site-e2e
- site
- packages
- atom
- effect-atom-react
- effect-atom
- gherkin/storybook-gherkin
- oxlint-presets/oxlint-config-frontend
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments