@mihcm/eslint-config
v0.1.4
Published
Shared ESLint config for @mihcm/* packages.
Readme
@mihcm/eslint-config
Shared ESLint config for MiHCM Design System packages and apps.
Use this package to keep lint behavior consistent across publishable packages, documentation, Storybook, MCP, and tooling.
Current release
Current published version: 0.1.3.
Currently aligned with the @mihcm/[email protected] release train on public npm. Remains the shared lint baseline for package and app workspaces.
Install
pnpm add -D @mihcm/eslint-config eslintUsage
import mihcm from '@mihcm/eslint-config';
export default [...mihcm];What is included
- ESLint base recommendations.
- TypeScript ESLint rules.
- React Hooks rules.
- React-focused rules used by the component packages.
Recent additions and fixes
- Kept the package aligned with ESLint 10 and the workspace TypeScript/React toolchain.
- Used by package lint scripts so component, AI-UI, MCP, theme, token, icon, and CLI packages share one lint baseline.
Maintainer checklist
When changing lint rules:
- Check the rule against all package types: UI, docs, CLI, MCP, AI-UI, tokens, theme, and icons.
- Avoid style-only churn that rewrites unrelated files.
- Prefer rules that catch correctness, accessibility, security, or maintainability issues.
- Run workspace lint before publishing.
- Add a changeset before publishing if the exported config changes.
Build
This package is source-only and has no compile step.
cd src
pnpm -F @mihcm/eslint-config lint