{"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,"search_vec":"'-11':18 '-24':19 '1.26.3':15 '18':63 '2025':17 'activ':20 'api':60 'avail':51 'cli':5,54 'commitlint':39 'config':33 'configur':11 'creat':2 'create-lobe-lint':1 'current':12 'detect':25 'eslint':36 'file':34 'framework':31 'frequent':23 'generat':32 'interact':45 'javascript':64 'lint':4,10 'lobe':3 'lobehub':9 'maintain':21 'manag':27 'mode':46 'node':62 'npx':57 'packag':26 'preset/manual':48 'prettier':37 'programmat':59 'react':30 'releas':16,24,43 'remarklint':40 'requir':61 'scaffold':8 'select':49 'semant':42 'stabl':13 'stylelint':38 'support':44 'tool':6,55 'typescript':28,65 'version':14 'via':56","created_at":"2026-05-01T13:43:11.295673+00:00","updated_at":"2026-05-01T13:43:11.295673+00:00","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,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"create-lobe-lint","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/lobehub/lobe-lint","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/create-lobe-lint","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-05-01","next_check":"2026-07-30","install_tag":null}}