--- name: longmo description: Longmo's opinionated tooling and conventions for JavaScript/TypeScript projects. Use when setting up new projects, configuring ESLint/Prettier alternatives, monorepos, library publishing, or when the user mentions Longmo's preferences. metadata: author: Longmo version: "2026.2.1" --- # Longmo's Preferences | Category | Preference | |----------------------|-------------------------------------------------------------------------------| | Package Manager | pnpm (with `@antfu/ni` for unified commands) | | Language | TypeScript (strict mode, ESM only) | | Linting & Formatting | `@antfu/eslint-config` (no Prettier) + `eslint-plugin-oxlint` + `commitlint` | | Testing | Vitest | | Git Hooks | lefthook | | Bundler (Libraries) | tsdown | | Documentation | VitePress | --- ## Core Conventions ### @antfu/ni Commands | Command | Description | |----------------------------|--------------------------------------------| | `ni` | Install dependencies | | `ni ` / `ni -D ` | Add dependency / dev dependency | | `nr