opencode/script/oxlint/anti-slop/UPSTREAM.md

17 lines
1.1 KiB
Markdown

# Upstream
- Source: https://github.com/dmmulroy/anti-slop, `skills/install-anti-slop/assets/anti-slop`
- Commit: `c44ef22ca116d0ba62a3ff663a0bd13a3f3fa40b` (skill folder tree `89044d21c75a367eac1ddbaf208e650b1a7d5820`)
- Installed with the `install-anti-slop` skill's `scripts/install.mjs`.
## Installed paths
- `script/oxlint/anti-slop/index.ts`: generic rules, registered as the `anti-slop` plugin.
- `script/oxlint/anti-slop/effect/index.ts`: Effect rules, registered as the `anti-slop-effect` plugin.
- `script/oxlint/anti-slop/vendor/eslint-stylistic/`: vendored padding-line logic with its own `LICENSE` and `UPSTREAM.md`.
## Deviations
- Lives under `script/oxlint/` rather than `tools/oxlint/`, next to the repository's other lint tooling in `script/`.
- `.oxlintrc.json` enables the rules only for the GUI packages: `app`, `desktop`, `gui-plugins`, the GUI SDK in `plugin/src/gui`, `ui` and `session-ui`. The Effect rules skip `ui`, which has no direct `effect` dependency.
- The rules run at `warn`, not `error`, while existing findings are fixed package by package.