@dephub/lint
v1.0.1
Published
A lightweight ESLint wrapper with custom configuration and dependency management.
Maintainers
Readme
@dephub/lint 🧹
A lightweight, ESM-only ESLint runner.
Features ✨
- 🚀 Full ESLint CLI support
- 🎛 ESM-friendly, works seamlessly with modern projects
- 🔧 API available for programmatic config and linting
Installation 📦
# npm
npm install @dephub/lint
# pnpm
pnpm add @dephub/lint
# yarn
yarn add @dephub/lint
# bun
bun add @dephub/lintUsage 🎯
CLI 💻
# Run linting in the current project
npx @dephub/lint
# Or if installed globally
lintSupports all ESLint CLI commands and options. Automatically detects lint.config.mjs in your project root.
API 🧩
import { defineConfig } from '@dephub/lint';
export default defineConfig({
rules: {
semi: ['error', 'always'],
quotes: ['error', 'single'],
},
});License 📄
MIT License – see LICENSE for details.
Author: Estarlin R (estarlincito.com)
