Registry / devops / mlp-lint

mlp-lint

JSON →
library2.0.0jsnpmunverified

A CLI tool (v2.0.0) that integrates multiple linters (ESLint, stylelint, markdownlint, commitlint) with pre-configured rules for JavaScript/TypeScript, CSS, Git commits, and documentation. It simplifies project setup by installing dependencies, generating config files, and enabling git hooks via husky. Maintained by the mlpconfig team, with a focus on reducing dev onboarding complexity. Alternatives like standard or eslint --init require manual configuration.

npm install mlp-lint
INSTALL
IMPORT
SIG · MLP-LINT
M
mlp-lint
devopsjavascriptv2.0.0
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.

mlp-lint
Run CLI directly without import
Not a module to import
CLI is used via command line; no programmatic import needed.
init
mlp-lint init
node -e 'require("mlp-lint").init()'
Commands are CLI only, no Node.js API exposed.

Shows global install, project init, scanning, and fixing with mlp-lint CLI.

# Install globally npm install -g mlp-lint # Initialize project cd your-project mlp-lint init # Run scan mlp-lint scan # Fix issues mlp-lint fix # Set up git hooks # (already done by init)
Debug
Known issues
gotchamlp-lint init overwrites existing linter configs unless confirmed
fix
Backup your configs before running init, or manually merge after.
affects: >=2.0.0
deprecatedGlobal install is discouraged; use npx or local install
fix
Use 'npx mlp-lint' or install locally with 'npm install --save-dev mlp-lint'.
affects: >=2.0.0
gotchamlp-lint scan may fail if project has missing peer dependencies
fix
Run 'npm install' in project root before scan.
affects: >=2.0.0
Errors
Common errors & fixes
Error: Cannot find module 'mlp-lint'
Global install not done or not in PATH
fix
Run 'npm install -g mlp-lint' or use 'npx mlp-lint'.
Command not found: mlp-lint
Global install not done or not in PATH
fix
Run 'npm install -g mlp-lint' or use 'npx mlp-lint'.
Upgrade
Version history
2.0.0latest on npm
Audit
Dependencies
eslintrequiredJavaScript/TypeScript linting
stylelintrequiredCSS linting
markdownlintrequiredMarkdown linting
commitlintrequiredGit commit message linting
huskyrequiredGit hooks for pre-commit checks
Agent activity
5 hits · last 30 days
node
2
Resources
mlp-lint — npm install mlp-lint · libregistry