{"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,"search_vec":"'3.2.2':13 'adopt':77 'alongsid':62 'chang':29 'code':41 'compar':43 'config':3,35 'configur':6,65 'consist':40 'current':10 'enabl':39 'eslint':64 'format':42 'frolint':21 'infrequ':28 'intend':71 'intern':57,73 'javascript':80 'justeat/prettier-config':50 'like':47 'monorepo':22 'outsid':78 'packag':25,67 'part':18 'preset':7,46 'prettier':2,5,34,81 'prettier-config-w':1 'project':38 'provid':31 'see':27 'share':33 'shopify/prettier-config':48 'specif':53 'stabl':69 'standard':58 'updat':16 'use':61,74 'version':12 'want':4,9,37,55,79 'wide':76","created_at":"2026-04-25T11:22:27.663793+00:00","updated_at":"2026-04-25T11:22:27.663793+00:00","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,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/wantedly/frolint.git#master","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/prettier-config-wantedly","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-07-24","install_tag":null}}