lotus-lint

raw JSON →
0.0.2 verified Fri May 01 auth: no javascript

An opinionated code quality and formatting tool that bundles ESLint, Stylelint, Prettier, lint-staged, and Husky into a single dependency. Version 0.0.2 provides zero-config setup with best-practice lint rules extracted from the community. Designed to reduce the friction of configuring multiple linters individually, it supports custom overrides while maintaining sensible defaults. The package is in early development with an unstable API.

error Error: Cannot find module 'lotus-lint'
cause Package not installed or not in node_modules.
fix
Run npm install lotus-lint --save-dev or yarn add lotus-lint --dev.
error Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'lotus-lint' imported from ...
cause Using ESM import but package is not properly resolved due to missing package.json exports or permission issues.
fix
Ensure your project has "type": "module" in its own package.json or use the correct import path.
error TypeError: lotusLint is not a function
cause Default import used but the package does not export a function as default.
fix
Check the exports by importing { eslint, prettier } instead of using default import.
breaking Package is pre-1.0 and API may change drastically between minor versions.
fix Pin to exact version and test after upgrades.
gotcha Named exports may differ from underlying tool's class names (e.g., 'eslint' not 'ESLint').
fix Always check the package's exported symbols before using.
deprecated No deprecation notices yet; package is too new.
fix Stay tuned to changelog.
npm install lotus-lint
yarn add lotus-lint
pnpm add lotus-lint

Shows importing and using the default function and a named export to create a custom ESLint config.

import lotusLint from 'lotus-lint';

// Run all linters
lotusLint();

// Or use specific config
import { eslint } from 'lotus-lint';
const config = { ...eslint, rules: { 'no-console': 'off' } };
export default config;