Registry / devops / create-lint-config

create-lint-config

JSON →
library0.4.2jsnpmunverified

A CLI scaffolding tool to generate lint configurations (ESLint, Prettier, StyleLint, CommitLint, Husky, lint-staged) for frontend projects. v0.4.2 supports Vue, React, Node templates with interactive prompts. Differentiators: opinionated defaults, one-command setup, template system, step-by-step customization via --input flag, and auto-dependency installation. Releases are monthly; actively maintained.

npm install create-lint-config
INSTALL
IMPORT
SIG · CREATE-LINT-CONFIG
C
create-lint-config
devopsjavascriptv0.4.2
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.

create-lint-config
npx create-lint-config@latest
CLI tool invoked via npm/yarn/pnpm create, not imported as a module.

Scaffolds lint configs for a React+TypeScript project using the default preset.

npx create-lint-config@latest --template react-ts
create-lint-config --version
Debug
Known issues
gotchaThe --template flag requires npm 7+ to pass extra double-dash: npm create lint-config@latest -- --template vue
fix
Use 'npm create lint-config@latest -- --template <name>' for npm 7+
affects: >=0.3.0
breakingv0.4.2 renames commitlintrc to .commitlintrc.cjs – existing projects may break if they rely on the old .js extension
fix
Rename your .commitlintrc.js to .commitlintrc.cjs
affects: 0.4.2
gotchaInteractive mode (-i) fails if stdin is not a TTY (e.g., in CI pipelines)
fix
Always pass --template or provide non-interactive flags in CI
affects: >=0.2.0
Errors
Common errors & fixes
Cannot read properties of undefined (reading 'config')
Node.js version below 14.18.0
fix
Upgrade Node.js to ^14.18.0 || >=16.0.0
Unknown flag: --template vue (did you mean --template?)
Missing extra double-dash on npm 7+
fix
Use 'npm create lint-config@latest -- --template vue'
Upgrade
Version history
0.4.2latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
OpenAI (training)
2
Resources
create-lint-config — npm install create-lint-config · libregistry