🚀 Instantly generate professional configs for ESLint, Prettier, Stylelint, Husky, EditorConfig, and lint-staged — for any frontend stack (React, Vue, Next.js, Svelte, Angular, Vanilla JS) in under 30 seconds.
create-linting is a CLI generator that:
# Run without installing globally
npx create-linting
# Or install globally
npm install -g create-linting
create-linting
The CLI will ask a few questions:
After that, it will generate config files like:
.eslintrc.json
prettier.config.cjs
stylelint.config.js
.editorconfig
lint-staged.config.js
and optionally install all required devDependencies.
npx create-linting
# → Select preset "Next.js + TypeScript + Tailwind"
# → Choose your package manager
# → Profit 💸
This will set up:
npx create-linting
# → Select "Vue + Prettier + Stylelint"
It will automatically adjust configs for Vue (eslint-plugin-vue) or Svelte (eslint-plugin-svelte).
| Problem | create-linting Solution |
|---|---|
| “Setting up ESLint and Prettier is a pain” | 🪄 Everything ready in one command |
| “TypeScript always breaks my ESLint setup” | ✅ Correct parsers and rules out of the box |
| “Too many linters and plugins to manage” | ⚙️ One CLI — total control |
| “Team argues about code style” | 💬 Unified, shared config |
| “Tired of setting up husky manually” | 🧠 Auto-setup for hooks and lint-staged |
| Category | Supported |
|---|---|
| Frameworks | React, Next.js, Vue, Svelte, Angular, Vanilla JS |
| Languages | JavaScript, TypeScript |
| Formatters | Prettier |
| CSS Linters | Stylelint (+ TailwindCSS) |
| Git Hooks | Husky + lint-staged |
| Editor Config | EditorConfig |
| Preset | Includes |
|---|---|
| Next.js + TypeScript + Tailwind | ESLint + Prettier + Tailwind + Husky + EditorConfig |
| React + TypeScript + Prettier | ESLint + TS + Prettier + Husky + EditorConfig |
| Vue + Prettier + Stylelint | ESLint + Stylelint + Prettier + EditorConfig |
| Svelte + Prettier | ESLint + Prettier + EditorConfig |
| Angular + TypeScript | ESLint + Prettier + EditorConfig |
| Vanilla JS + Prettier | Lightweight base config without unnecessary noise |
src/builder/*.ts)src/templates and compiled via EJSBecause:
--template path/to/templates) .lintingrc with metadata git clone https://github.com/yourname/create-linting.git
cd create-linting
npm install
npm run dev
Modify code in src/, build with npm run build, and test using:
npx ts-node-esm src/index.ts
Built with love for clean code and developer productivity
by [Your Name / Nickname]
📬 Contributions, PRs, and ideas are always welcome!
🧩
create-linting= 30 seconds → a project with perfectly configured ESLint, Prettier, Stylelint, Husky, and EditorConfig
No conflicts. No manual setup. Just ✨ “clean code out of the box.”