miclint
raw JSON → 5.0.0 verified Fri May 01 auth: no javascript deprecated
A CLI tool for linting codebases using ESLint with the eslint-config-mic preset. Version 5.0.0 wraps eslint with Airbnb's config, babel-eslint, and plugins for React, JSX a11y, and imports. It supports Flow type checking via --flow flag and auto-fixing with --fix. The tool is meant for projects that want a zero-config ESLint setup but can be replaced by integrating eslint-config-mic directly. Dependencies are pinned to specific versions which may cause conflict with project dependencies. No updates since 2017; unmaintained.
Common errors
error Error: Cannot find module 'eslint-config-airbnb' ↓
cause Missing dependency due to npm hoisting issues
fix
npm install eslint-config-airbnb@latest
error Error: Unexpected token < ↓
cause Babel parser not configured for JSX
fix
Use --flow flag or configure babel-eslint in .eslintrc
error Error: No such file or directory 'node_modules/.bin/miclint' ↓
cause miclint not installed locally
fix
npm install miclint --save-dev or use npx miclint
Warnings
deprecated Package is unmaintained since 2017. No updates for ESLint v6+, babel-eslint v11+ ↓
fix Migrate to eslint with eslint-config-mic or use modern ESLint setup.
gotcha Dependencies are pinned to older versions and may conflict with project dependencies. ↓
fix Use eslint directly with eslint-config-mic instead of this CLI.
gotcha --flow flag requires flow-bin installed separately, not documented. ↓
fix Ensure flow-bin is installed: npm install flow-bin --save-dev
gotcha eslint-plugin-jsx is included even if not using JSX, may cause unnecessary warnings. ↓
fix Use eslint-config-mic directly to customize plugins.
Install
npm install miclint yarn add miclint pnpm add miclint Imports
- miclint wrong
npm install -g miclint && miclintcorrectnpx miclint - miclint with flow wrong
miclint --flow-typecorrectnpx miclint --flow - miclint with fix wrong
miclint --autofixcorrectnpx miclint --fix
Quickstart
npm install miclint --save-dev
npx miclint
npx miclint --flow
npx miclint --fix