{"id":20312,"library":"prettier-config-wantedly","title":"prettier-config-wantedly","description":"Prettier configuration preset from Wantedly, currently at version 3.2.2. It is updated as part of the frolint monorepo, but the package itself sees infrequent changes. It provides a shared Prettier config for Wantedly projects, enabling consistent code formatting. Compared to other presets like @shopify/prettier-config or @justeat/prettier-config, it is specific to Wantedly's internal standards and is used alongside their ESLint configurations. The package is stable and intended for internal use, not widely adopted outside Wantedly.","status":"active","version":"3.2.2","language":"javascript","source_language":"en","source_url":"https://github.com/wantedly/frolint#master","tags":["javascript","prettier"],"install":[{"cmd":"npm install prettier-config-wantedly","lang":"bash","label":"npm"},{"cmd":"yarn add prettier-config-wantedly","lang":"bash","label":"yarn"},{"cmd":"pnpm add prettier-config-wantedly","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency required to use the config","package":"prettier","optional":true}],"imports":[{"note":"Use spread to extend the config, or set prettier field to the string directly only if not extending.","wrong":"\"prettier-config-wantedly\"","symbol":"config","correct":"module.exports = {\n  ...require(\"prettier-config-wantedly\")\n};"},{"note":"Default export is the config object.","wrong":"import { default } from 'prettier-config-wantedly';","symbol":"default","correct":"import config from 'prettier-config-wantedly';"},{"note":"In .prettierrc, you can use a string reference; in prettier.config.js, you can also use module.exports = 'prettier-config-wantedly'.","wrong":"module.exports = { ...require('prettier-config-wantedly') };","symbol":"prettier.config.js","correct":"module.exports = 'prettier-config-wantedly';"}],"quickstart":{"code":"// 1. Install\n// npm install --save-dev prettier prettier-config-wantedly\n\n// 2. Create .prettierrc.js\nmodule.exports = {\n  ...require('prettier-config-wantedly'),\n  tabWidth: 4\n};\n\n// 3. Run prettier\n// npx prettier --check src/\n// or with frolint: npx frolint --fix src/\n","lang":"javascript","description":"Install the package, extend the config in a JS file, and run Prettier."},"warnings":[{"fix":"In .prettierrc JSON: { \"prettier\": \"prettier-config-wantedly\" }","message":"The package exports a plain object; if you use it in .prettierrc (JSON), you must use a string reference like \"prettier-config-wantedly\"","severity":"gotcha","affected_versions":">=3.0.0"},{"fix":"module.exports = { ...require('prettier-config-wantedly'), yourOverrides }","message":"If you extend the config using spread, ensure the spread is at the top level of your config object.","severity":"gotcha","affected_versions":">=3.0.0"},{"fix":"Use frolint instead: npm install frolint --save-dev and configure via frolint.config.js","message":"This package is deprecated in favor of using frolint's built-in formatting; prefer frolint for consistent ESLint + Prettier integration.","severity":"deprecated","affected_versions":"<4.0.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Ensure package is installed: npm install --save-dev prettier-config-wantedly","cause":"Missing or incorrect install; or running in a monorepo without hoisting","error":"Error: Cannot find module 'prettier-config-wantedly'"},{"fix":"Use module.exports = 'prettier-config-wantedly'; in .prettierrc.js","cause":"Using string reference in .prettierrc.js instead of .prettierrc JSON","error":"Invalid configuration file: \"prettier-config-wantedly\""}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}