ulint
v0.0.7
Published
A lightweight ESLint wrapper with custom configuration and dependency management.
Maintainers
Readme
uLint ⚡
“Lint smarter. Keep your code consistent.”
Features ✨
- 🔍 Automatically detects and uses
ulint.config.mjsfor ESLint configuration. - ⚡ Flat Config compatible: leverage ESLint’s new config system
- 🔗 Seamlessly integrates with ESLint CLI, passing through all arguments.
- ⚡ Lightweight and fast for linting in Node.js environments.
Installation 📲
Get started quickly! Install ulint with your favorite package manager:
npm install ulint
# or
pnpm add ulint
# or
yarn add ulintNote:
ulintrequireseslintas a peer dependency. It will prompt to installeslintif not found in your project.
Usage 🎉
Use ulint to lint your code with ease, either via CLI or programmatically.
API
uLint only supports ESM config files: ulint.config.mjs.
defineConfig(function)
📝 Helper to define ESLint configurations with type safety.// ulint.config.mjs import { defineConfig } from 'ulint'; export default defineConfig({ rules: { 'no-console': 'warn', }, });
CLI
uLint supports all standard ESLint CLI flags:
# Lint all JavaScript and TypeScript files
ulint . --ext .js,.ts
# Lint specific directories
ulint src/ --fixLicense
MIT License – see LICENSE for details.
Author: Estarlin R (estarlincito.com)
