{"id":25108,"library":"complete-lint","title":"Complete Lint","description":"complete-lint is a meta-package that bundles and configures ESLint and Prettier for TypeScript projects, providing a zero-config linting setup. Current stable version is 5.11.0, with active development and frequent releases. It simplifies TypeScript linting by handling dependencies and defaults, but requires typescript >=6.0.0. Unlike alternatives like eslint-config-prettier, complete-lint is a full meta-package that installs multiple tools and provides a unified configuration.","status":"active","version":"5.11.0","language":"javascript","source_language":"en","source_url":"https://github.com/complete-ts/complete","tags":["javascript","lint","linting","prettier","eslint"],"install":[{"cmd":"npm install complete-lint","lang":"bash","label":"npm"},{"cmd":"yarn add complete-lint","lang":"bash","label":"yarn"},{"cmd":"pnpm add complete-lint","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Peer dependency; the package requires TypeScript >=6.0.0 to function.","package":"typescript","optional":false}],"imports":[{"note":"complete-lint is a meta-package; importing it applies the configuration. ESM-only since v5.","wrong":"const lint = require('complete-lint')","symbol":"complete-lint","correct":"import 'complete-lint'"},{"note":"Import the default config object for custom setups. Requires ESM.","wrong":"const config = require('complete-lint/config')","symbol":"config","correct":"import config from 'complete-lint/config'"},{"note":"Named export for CLI tool; not a default export.","wrong":"import CLI from 'complete-lint'","symbol":"CLI","correct":"import { CLI } from 'complete-lint'"}],"quickstart":{"code":"import 'complete-lint';\n// Then run linting commands (e.g., eslint .)\n// Or use the provided CLI:\nimport { CLI } from 'complete-lint';\nnew CLI().run(['--fix']);","lang":"typescript","description":"Shows how to use complete-lint: import to apply config, or use CLI programmatically."},"warnings":[{"fix":"Upgrade TypeScript to version 6.0.0 or higher.","message":"complete-lint v5.0.0 drops support for TypeScript <6.0.0. Update typescript peer dep.","severity":"breaking","affected_versions":">=5.0.0"},{"fix":"Use the new import path for config.","message":"complete-lint v4.0.0 deprecated the `config` helper function. Use `import config from 'complete-lint/config'` instead.","severity":"deprecated","affected_versions":">=4.0.0"},{"fix":"Install eslint and prettier in your project.","message":"Complete-lint does not include prettier or eslint as direct deps; they must be installed separately.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run npm install complete-lint","cause":"Package not installed or not in node_modules.","error":"Error: Cannot find module 'complete-lint'"},{"fix":"Use import config from 'complete-lint/config' instead of calling config().","cause":"Using deprecated config pattern from v3.","error":"TypeError: config is not a function"},{"fix":"Set type: module in package.json or rename file to .mjs.","cause":"Missing type: module in package.json or file extension not .mjs.","error":"Error: Cannot use import statement outside a module"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}