Skip to content

chore(lint): Enforce anti-slop rules - #170

Merged
gricha merged 2 commits into
mainfrom
chore/oxlint-anti-slop
Aug 23, 2026
Merged

chore(lint): Enforce anti-slop rules#170
gricha merged 2 commits into
mainfrom
chore/oxlint-anti-slop

Conversation

@gricha

@gricha gricha commented Aug 23, 2026

Copy link
Copy Markdown
Member

Vendor Dillon Mulroy's anti-slop Oxlint plugin and enforce all 15 generic rules across the owned repository. Oxlint and its plugin API are pinned together at 1.79.0, while generated agent state and the vendored plugin itself are excluded from self-linting. Lint entrypoints use the existing tsx loader so the TypeScript plugin also works under the repository's Node 20 CI runtime.

Making the rules mandatory surfaced 274 existing violations. The accompanying refactor replaces module mocks and unchecked boundary assertions with typed dependency seams, runtime schemas, and reusable guards while preserving CLI and plugin behavior. Reviewers may want to start with .oxlintrc.json and tools/oxlint/anti-slop/, then inspect the resolver, Git, CLI, and plugin-store seams. The Effect-specific rule remains unregistered because this repository has no direct Effect dependency.

The final tree passes all 1,138 tests, typechecking, AST policies, and isolated Docker example/plugin lifecycle QA.

@vercel

vercel Bot commented Aug 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dotagents Ready Ready Preview Aug 23, 2026 12:25am

Request Review

@gricha
gricha marked this pull request as ready for review August 23, 2026 00:23
@github-actions github-actions Bot added the risk: high PR risk score: high label Aug 23, 2026
@gricha
gricha merged commit 4f3973a into main Aug 23, 2026
19 checks passed
@gricha
gricha deleted the chore/oxlint-anti-slop branch August 23, 2026 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant