mirror of
https://github.com/aaditagrawal/coolstuff.git
synced 2026-09-01 10:34:48 +05:30
No description
https://coolstuff-ashen.vercel.app
Vendor the anti-slop Oxlint plugin at tools/oxlint/anti-slop and enable all
15 of its rules at "error" in .oxlintrc.json.
- Add @oxlint/plugins ^1.78.0 as a dev dependency and bump oxlint from
^1.77.0 to ^1.78.0 so the linter and its plugin API stay in lockstep.
- Register the plugin via jsPlugins and merge the vendored plugin path plus
the common agent-tooling directories into ignorePatterns, keeping every
existing pattern.
- Mirror the same ignore patterns into .oxfmtrc.json so the vendored plugin's
upstream formatting does not fail `bun run format:check`.
- Add tools/oxlint/anti-slop/package.json with {"type": "module"} to silence
MODULE_TYPELESS_PACKAGE_JSON without changing root module semantics.
- Enable allowImportingTsExtensions in tsconfig.json; the vendored rules
import each other with explicit .ts extensions and the tsconfig include
covers **/*.ts, which otherwise produced 21 TS5097 errors.
No type fixes were needed: the plugin reports zero findings across owned
project source. lint, typecheck, format:check and build all pass.
|
||
|---|---|---|
| .github/workflows | ||
| public | ||
| src | ||
| tools/oxlint/anti-slop | ||
| .gitignore | ||
| .oxfmtrc.json | ||
| .oxlintrc.json | ||
| bun.lock | ||
| components.json | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| next.config.ts | ||
| package.json | ||
| postcss.config.mjs | ||
| README.md | ||
| tsconfig.json | ||