{"id":20332,"library":"prettier-pack","title":"prettier-pack","description":"A bundled package that includes Prettier, ESLint, Husky, lint-staged, Flow, and React-related ESLint plugins (babel-eslint, eslint-config-prettier, eslint-plugin-babel, eslint-plugin-flowtype, eslint-plugin-import, eslint-plugin-prettier, eslint-plugin-react, flow-bin, flow-webpack-plugin) for quick setup of code formatting and linting. Version 0.0.14 is the latest, with infrequent releases. The package is opinionated and monolithic, bundling many dependencies together, which can lead to version conflicts and bloat. It is intended for novice users who want a one-command setup, but is not actively maintained and lacks flexibility compared to using the individual tools directly.","status":"active","version":"0.0.14","language":"javascript","source_language":"en","source_url":"https://github.com/prscX/prettier-pack","tags":["javascript"],"install":[{"cmd":"npm install prettier-pack","lang":"bash","label":"npm"},{"cmd":"yarn add prettier-pack","lang":"bash","label":"yarn"},{"cmd":"pnpm add prettier-pack","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Linting with Babel support","package":"babel-eslint","optional":false},{"reason":"Disables conflicting ESLint rules","package":"eslint-config-prettier","optional":false},{"reason":"ESLint plugin for Babel","package":"eslint-plugin-babel","optional":false},{"reason":"Flow type linting rules","package":"eslint-plugin-flowtype","optional":false},{"reason":"ESLint plugin for import/export","package":"eslint-plugin-import","optional":false},{"reason":"Runs Prettier as ESLint rule","package":"eslint-plugin-prettier","optional":false},{"reason":"React linting rules","package":"eslint-plugin-react","optional":false},{"reason":"Flow type checker","package":"flow-bin","optional":false},{"reason":"Webpack plugin for Flow","package":"flow-webpack-plugin","optional":false},{"reason":"Git hooks","package":"husky","optional":false},{"reason":"Run linters on staged files","package":"lint-staged","optional":false},{"reason":"CLI for prettier-eslint","package":"prettier-eslint-cli","optional":false}],"imports":[{"note":"Typically installed as dev dependency. v0.0.14 uses CommonJS, not ESM.","wrong":"npm install prettier-pack --save","symbol":"prettier-pack","correct":"npm install prettier-pack --save-dev"},{"note":"The package does not include a default Prettier config; you must supply your own .prettierrc or similar.","wrong":"No standard config file provided; user must create their own.","symbol":".prettierrc","correct":"module.exports = { semi: false, singleQuote: true }"},{"note":"Use 'prettier-pack' as the ESLint config name. The package re-exports a config from eslint-config-prettier and plugins.","wrong":"extends: ['prettier']","symbol":"ESLint config","correct":"extends: ['prettier-pack']"}],"quickstart":{"code":"// 1. Install the package\nnpm install --save-dev prettier-pack\n\n// 2. Create .prettierrc (example)\n{\n  \"semi\": false,\n  \"singleQuote\": true\n}\n\n// 3. Extend ESLint config in .eslintrc\n{\n  \"extends\": [\"prettier-pack\"],\n  \"rules\": {}\n}\n\n// 4. Add lint-staged to package.json\n\"husky\": {\n  \"hooks\": {\n    \"pre-commit\": \"lint-staged\"\n  }\n},\n\"lint-staged\": {\n  \"*.{js,jsx,ts,tsx}\": [\n    \"eslint --fix\",\n    \"prettier --write\"\n  ]\n}\n\n// 5. Run npx prettier-check . to verify formatting","lang":"javascript","description":"Install prettier-pack and configure ESLint, Husky, and lint-staged for automated formatting on commit."},"warnings":[{"fix":"Install individual tools (Prettier, ESLint, etc.) separately and manage versions yourself.","message":"Package bundles many dependencies with fixed versions, leading to potential version conflicts.","severity":"deprecated","affected_versions":">=0.0.0"},{"fix":"Create .prettierrc file in your project root with desired options.","message":"The package does not provide a default Prettier config; users must create their own .prettierrc.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Extend the config and override rules as needed.","message":"ESLint config 'prettier-pack' may not include all necessary rules for your project.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Consider removing Flow-related dependencies if not used.","message":"The package includes flow-bin and flow-webpack-plugin, which may not be needed if not using Flow.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Use 'extends': ['prettier-pack'] in .eslintrc","cause":"ESLint config name is incorrect; should be 'prettier-pack' without 'eslint-config-'.","error":"Cannot find module 'eslint-config-prettier-pack'"},{"fix":"Install babel-eslint separately or ensure prettier-pack is hoisted correctly.","cause":"The package bundles babel-eslint but it may not be installed as a top-level dependency.","error":"Error: Could not resolve 'babel-eslint'","affected_versions":">=0.0.0"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}