Registry / testing / lotus-lint

lotus-lint

JSON →
library0.0.2jsnpmunverified

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.

npm install lotus-lint
INSTALL
IMPORT
SIG · LOTUS-LINT
L
lotus-lint
testingjavascriptv0.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
import lotusLint from 'lotus-lint'
const lotusLint = require('lotus-lint')
ESM-only; CommonJS require is not supported.
eslint
import { eslint } from 'lotus-lint'
import { ESLint } from 'lotus-lint'
Named export for ESLint configuration.
prettier
import { prettier } from 'lotus-lint'
import { Prettier } from 'lotus-lint'
Named export for Prettier configuration.

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;
lotus-lint --version
Debug
Known issues
breakingPackage is pre-1.0 and API may change drastically between minor versions.
fix
Pin to exact version and test after upgrades.
affects: >=0.0.0
gotchaNamed exports may differ from underlying tool's class names (e.g., 'eslint' not 'ESLint').
fix
Always check the package's exported symbols before using.
affects: >=0.0.0
deprecatedNo deprecation notices yet; package is too new.
fix
Stay tuned to changelog.
affects: none
Errors
Common errors & fixes
Error: Cannot find module 'lotus-lint'
Package not installed or not in node_modules.
fix
Run `npm install lotus-lint --save-dev` or `yarn add lotus-lint --dev`.
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'lotus-lint' imported from ...
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.
TypeError: lotusLint is not a function
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.
Upgrade
Version history
0.0.2latest on npm
Audit
Dependencies
eslintrequiredcore JavaScript/TypeScript linting engine
prettierrequiredcode formatting
stylelintrequiredCSS/Sass/SCSS linting
lint-stagedrequiredrun linters on staged git files
huskyrequiredGit hooks management
Agent activity
2 hits · last 30 days
node
2
Resources
lotus-lint — npm install lotus-lint · libregistry