create-lobe-lint

raw JSON →
2.1.5 verified Fri May 01 auth: no javascript

CLI tool to scaffold LobeHub lint configurations. Current stable version 1.26.3, released 2025-11-24. Actively maintained with frequent releases. Detects package manager, TypeScript, and React framework; generates config files for ESLint, Prettier, Stylelint, Commitlint, Remarklint, and Semantic Release. Supports interactive mode and preset/manual selection. Only available as a CLI tool via npx; no programmatic API. Requires Node >=18.

error npx: command not found
cause Node.js or npm is not installed or not in PATH.
fix
Install Node.js from https://nodejs.org (version >=18). Verify with node -v && npm -v.
error Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'create-lobe-lint'
cause npx cannot resolve the package; possibly network issues or incorrect package name.
fix
Use npx create-lobe-lint@2.1.5 to specify the exact version, or check your internet connection.
gotcha Running npx create-lobe-lint without --no-install will try to install npm packages globally, which may fail in restrictive environments.
fix Use the --no-install flag to skip installation, then manually run your package manager's install command.
breaking Generated ESLint config now uses eslint.config.mjs (flat config) instead of .eslintrc. This requires ESLint >=9.0.0.
fix Upgrade to ESLint 9+ and ensure no legacy .eslintrc files are present. If you need legacy config, use an older version of create-lobe-lint.
deprecated Generated Prettier config uses prettier.config.mjs, but older versions used .prettierrc. The .prettierrc format is still supported but deprecated by Prettier.
fix If you prefer .prettierrc, rename the generated file to .prettierrc and adjust the format.
gotcha The --react flag expects a specific value (next, remix, vite, expo, true, false). Using an invalid value will cause the CLI to exit with an error.
fix Use one of the accepted values: next, remix, vite, expo, true, false.
npm install create-lobe-lint
yarn add create-lobe-lint
pnpm add create-lobe-lint

Creates a temporary project, initializes it, then runs create-lobe-lint with preset and yes flags to generate lint config files without installing dependencies.

cd /tmp && mkdir test-lint && cd test-lint && npm init -y && npx create-lobe-lint --preset -y --no-install 2>&1 || true