chore(lint): replace ESLint with Oxlint and clear anti-slop findings

This commit is contained in:
Chris Scott committed 2026-11-13 01:13:34 -05:00
1 parent c6c13335e5
commit b625acfc0c
1083 files changed
+67089 -80136

No files matched your search

-6
View File
@@ -8,19 +8,14 @@ const root = resolve(dirname(fileURLToPath(import.meta.url)), '..')
const target = join(root, 'dist', 'ocm.js')
if (!existsSync(target)) {
// dist not built yet — silently skip
process.exit(0)
}
try {
chmodSync(target, 0o755)
} catch {
// best effort
}
// If installed via `npm i -g` / `bun add -g`, the binary is already linked
// by the package manager via the `bin` field. Only do the ~/.local/bin
// symlink for local workspace installs.
if (process.env.npm_config_global === 'true' || process.env.npm_config_global === true) {
process.exit(0)
}
@@ -55,7 +50,6 @@ try {
process.exit(0)
}
} catch {
// missing — fine
}
try {