{"id":25135,"library":"create-lobe-lint","title":"create-lobe-lint","description":"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.","status":"active","version":"2.1.5","language":"javascript","source_language":"en","source_url":"https://github.com/lobehub/lobe-lint","tags":["javascript","typescript"],"install":[{"cmd":"npm install create-lobe-lint","lang":"bash","label":"npm"},{"cmd":"yarn add create-lobe-lint","lang":"bash","label":"yarn"},{"cmd":"pnpm add create-lobe-lint","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"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`.","wrong":"import { execSync } from 'create-lobe-lint'","symbol":"execSync","correct":"import { execSync } from 'child_process'"}],"quickstart":{"code":"cd /tmp && mkdir test-lint && cd test-lint && npm init -y && npx create-lobe-lint --preset -y --no-install 2>&1 || true","lang":"bash","description":"Creates a temporary project, initializes it, then runs create-lobe-lint with preset and yes flags to generate lint config files without installing dependencies."},"warnings":[{"fix":"Use the --no-install flag to skip installation, then manually run your package manager's install command.","message":"Running npx create-lobe-lint without --no-install will try to install npm packages globally, which may fail in restrictive environments.","severity":"gotcha","affected_versions":">=0.0.1"},{"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.","message":"Generated ESLint config now uses eslint.config.mjs (flat config) instead of .eslintrc. This requires ESLint >=9.0.0.","severity":"breaking","affected_versions":">=1.0.0"},{"fix":"If you prefer .prettierrc, rename the generated file to .prettierrc and adjust the format.","message":"Generated Prettier config uses prettier.config.mjs, but older versions used .prettierrc. The .prettierrc format is still supported but deprecated by Prettier.","severity":"deprecated","affected_versions":">=1.0.0"},{"fix":"Use one of the accepted values: next, remix, vite, expo, true, false.","message":"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.","severity":"gotcha","affected_versions":">=0.0.1"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Install Node.js from https://nodejs.org (version >=18). Verify with `node -v && npm -v`.","cause":"Node.js or npm is not installed or not in PATH.","error":"npx: command not found"},{"fix":"Use `npx create-lobe-lint@2.1.5` to specify the exact version, or check your internet connection.","cause":"npx cannot resolve the package; possibly network issues or incorrect package name.","error":"Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'create-lobe-lint'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}