aelf-lint
raw JSON → 0.0.1-alpha.2 verified Fri May 01 auth: no javascript
aelf-lint is a tool for configuring ESLint, Prettier, Stylelint, Commitlint, Husky, and generating their configuration files to unify code style in projects. Current version 0.0.1-alpha.2 is in early alpha with low release cadence. Unlike manual setup, it automates tool integration and file generation but requires manual handling of existing tsconfig.json.
Common errors
error Command 'aelf-lint' not found ↓
cause Package not installed globally or npx not used.
fix
Use
npx aelf-lint or install globally with npm install -g aelf-lint. error Cannot read property 'config' of undefined ↓
cause Missing configuration files or conflicting versions.
fix
Ensure ESLint, Prettier, etc. are installed and run aelf-lint again.
Warnings
gotcha Generated aelftsconfig.json may conflict with existing tsconfig.json; manual merge required. ↓
fix If tsconfig.json exists, copy aelftsconfig.json contents into it manually, preserving existing config.
deprecated Package is in early alpha (0.0.1-alpha.2); API may change. ↓
fix Pin version or expect breaking changes.
Install
npm install aelf-lint yarn add aelf-lint pnpm add aelf-lint Imports
- default wrong
npm run aelf-lint (if not defined in scripts)correctnpx aelf-lint
Quickstart
npm install aelf-lint && npx aelf-lint