Registry / devops / create-lobe-lint

create-lobe-lint

JSON →
library2.1.5jsnpmunverified

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.

npm install create-lobe-lint
INSTALL
IMPORT
SIG · CREATE-LOBE-LINT
C
create-lobe-lint
devopsjavascriptv2.1.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

execSync
import { execSync } from 'child_process'
import { execSync } from 'create-lobe-lint'
create-lobe-lint is a CLI tool only, not a library. There is no programmatic API. All functionality is accessed via `npx 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
create-lobe-lint --version
Debug
Known issues
gotchaRunning 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.
affects: >=0.0.1
breakingGenerated 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.
affects: >=1.0.0
deprecatedGenerated 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.
affects: >=1.0.0
gotchaThe --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.
affects: >=0.0.1
Errors
Common errors & fixes
npx: command not found
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 [ERR_MODULE_NOT_FOUND]: Cannot find module 'create-lobe-lint'
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.
Upgrade
Version history
2.1.5latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
create-lobe-lint — npm install create-lobe-lint · libregistry