{"id":25905,"library":"lotus-lint","title":"lotus-lint","description":"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.","status":"active","version":"0.0.2","language":"javascript","source_language":"en","source_url":"ssh://git@github.com/lotus-ui/lotus-lint","tags":["javascript","eslint","husky","lint","lint-staged","prettier","stylelint"],"install":[{"cmd":"npm install lotus-lint","lang":"bash","label":"npm"},{"cmd":"yarn add lotus-lint","lang":"bash","label":"yarn"},{"cmd":"pnpm add lotus-lint","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"core JavaScript/TypeScript linting engine","package":"eslint","optional":false},{"reason":"code formatting","package":"prettier","optional":false},{"reason":"CSS/Sass/SCSS linting","package":"stylelint","optional":false},{"reason":"run linters on staged git files","package":"lint-staged","optional":false},{"reason":"Git hooks management","package":"husky","optional":false}],"imports":[{"note":"ESM-only; CommonJS require is not supported.","wrong":"const lotusLint = require('lotus-lint')","symbol":"default","correct":"import lotusLint from 'lotus-lint'"},{"note":"Named export for ESLint configuration.","wrong":"import { ESLint } from 'lotus-lint'","symbol":"eslint","correct":"import { eslint } from 'lotus-lint'"},{"note":"Named export for Prettier configuration.","wrong":"import { Prettier } from 'lotus-lint'","symbol":"prettier","correct":"import { prettier } from 'lotus-lint'"}],"quickstart":{"code":"import lotusLint from 'lotus-lint';\n\n// Run all linters\nlotusLint();\n\n// Or use specific config\nimport { eslint } from 'lotus-lint';\nconst config = { ...eslint, rules: { 'no-console': 'off' } };\nexport default config;","lang":"typescript","description":"Shows importing and using the default function and a named export to create a custom ESLint config."},"warnings":[{"fix":"Pin to exact version and test after upgrades.","message":"Package is pre-1.0 and API may change drastically between minor versions.","severity":"breaking","affected_versions":">=0.0.0"},{"fix":"Always check the package's exported symbols before using.","message":"Named exports may differ from underlying tool's class names (e.g., 'eslint' not 'ESLint').","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Stay tuned to changelog.","message":"No deprecation notices yet; package is too new.","severity":"deprecated","affected_versions":"none"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run `npm install lotus-lint --save-dev` or `yarn add lotus-lint --dev`.","cause":"Package not installed or not in node_modules.","error":"Error: Cannot find module 'lotus-lint'"},{"fix":"Ensure your project has `\"type\": \"module\"` in its own package.json or use the correct import path.","cause":"Using ESM import but package is not properly resolved due to missing package.json exports or permission issues.","error":"Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'lotus-lint' imported from ..."},{"fix":"Check the exports by importing `{ eslint, prettier }` instead of using default import.","cause":"Default import used but the package does not export a function as default.","error":"TypeError: lotusLint is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}