Registry / testing / amber-lint

amber-lint

JSON →
library1.0.3jsnpmunverified

A tool to configure and generate configuration files for ESLint, Prettier, Stylelint, Commitlint, Husky, etc., unifying project code style. Version 1.0.3 is the latest. Released with low frequency. Differentiators: auto-generates all config files and installs peer dependencies via a single command, supporting JavaScript and TypeScript projects.

npm install amber-lint
INSTALL
IMPORT
SIG · AMBER-LINT
A
amber-lint
testingjavascriptv1.0.3
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.

amber-lint
npx amber-lint
const amberLint = require('amber-lint')
amber-lint is a CLI tool, not meant to be imported in code. Run via npx or yarn.

Install amber-lint globally and run it in your project to generate configuration files and install dependencies.

npm install -g amber-lint && cd my-project && amber-lint
amber-lint --version
Debug
Known issues
gotchaGenerated aelftsconfig.json must be merged with existing tsconfig.json; renaming overwrites user config.
fix
Manually copy contents of aelftsconfig.json to tsconfig.json, preserving your own settings.
affects: >=1.0.0
breakingThis tool replaces existing configuration files without backup.
fix
Commit existing config files to version control before running amber-lint.
affects: >=1.0.0
deprecatedNode.js versions <10.12.0 or 11.x are not supported.
fix
Upgrade Node.js to >=10.12.0 (but not 11.x) or >=12.0.0.
affects: >=1.0.0
Errors
Common errors & fixes
Error: Cannot find module 'amber-lint'
Missing local installation; running npx amber-lint without installing first.
fix
Run 'npm install amber-lint' in your project, then use 'npx amber-lint'.
bash: amber-lint: command not found
Global install not performed or not in PATH.
fix
Install globally: 'npm install -g amber-lint', or use npx: 'npx amber-lint'.
Upgrade
Version history
1.0.3latest on npm
Audit
Dependencies
eslintrequiredLinting JavaScript/TypeScript
prettierrequiredCode formatting
stylelintrequiredCSS linting
commitlintrequiredCommit message linting
huskyrequiredGit hooks management
Agent activity
43 hits · last 30 days
node
38
OpenAI (training)
1
Resources
amber-lint — npm install amber-lint · libregistry