create-lobe-lint
v2.0.3
Published
CLI tool to setup LobeHub lint configurations
Readme
CLI tool to setup LobeHub lint configurations
Changelog · [Report Bug][issues-link] · [Request Feature][issues-link]

TOC
Features
- Auto Detection - Detects package manager, TypeScript, and React framework
- Interactive Mode - Guided setup with preset and manual options
- Framework Support - Next.js, Remix, Vite, Expo support
- Flexible - Generate configs for ESLint, Prettier, Stylelint, Commitlint, Remarklint, Semantic Release
Usage
Run the CLI with npx:
npx create-lobe-lintThis will start an interactive setup process that:
- Detects your project configuration
- Asks which tools you want to configure
- Generates the appropriate config files
- Installs the required dependencies
Options
| Option | Alias | Description |
| --------------------- | ----- | ----------------------------------------------------------------------- |
| --preset | -p | Quick setup with preset tools (ESLint, Prettier, Stylelint, Commitlint) |
| --manual | -m | Manually select tools to configure |
| --eslint | | Include ESLint configuration |
| --prettier | | Include Prettier configuration |
| --stylelint | | Include Stylelint configuration |
| --commitlint | | Include Commitlint configuration |
| --remarklint | | Include Remarklint configuration |
| --semantic-release | | Include Semantic Release configuration |
| --react <framework> | | Set React framework (next/remix/vite/expo/true/false) |
| --install | | Auto-install dependencies (default) |
| --no-install | | Skip dependency installation |
| --yes | -y | Skip confirmations |
| --help | -h | Show help |
Examples
# Interactive mode
npx create-lobe-lint
# Quick setup with defaults
npx create-lobe-lint --preset -y
# Select specific tools
npx create-lobe-lint --eslint --prettier --react next
# Manual selection mode
npx create-lobe-lint --manual
# Skip dependency installation
npx create-lobe-lint --preset -y --no-installGenerated Files
| Tool | Config File |
| ---------------- | ----------------------- |
| ESLint | eslint.config.mjs |
| Prettier | prettier.config.mjs |
| Stylelint | stylelint.config.mjs |
| Commitlint | commitlint.config.mjs |
| Remarklint | .remarkrc.mjs |
| Semantic Release | release.config.mjs |
📝 License
Copyright © 2026 LobeHub. This project is MIT licensed.
