Registry / devops / prettier-config-wantedly

prettier-config-wantedly

JSON →
library3.2.2jsnpmunverified

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.

npm install prettier-config-wantedly
INSTALL
IMPORT
SIG · PRETTIER-CONFIG-WA
P
prettier-config-wantedly
devopsjavascriptv3.2.2
Install
—
Import
—
Disk
—
Pass rate
0/ 6
Env Coverage0 / 6
glibc
18–22
musl
18–22
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18–226 runs
build_error
glibc
node 18–226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

config
✓ module.exports = { ...require("prettier-config-wantedly") };
✗ "prettier-config-wantedly"
Use spread to extend the config, or set prettier field to the string directly only if not extending.
default
✓ import config from 'prettier-config-wantedly';
✗ import { default } from 'prettier-config-wantedly';
Default export is the config object.
prettier.config.js
✓ module.exports = 'prettier-config-wantedly';
✗ module.exports = { ...require('prettier-config-wantedly') };
In .prettierrc, you can use a string reference; in prettier.config.js, you can also use module.exports = 'prettier-config-wantedly'.

Install the package, extend the config in a JS file, and run Prettier.

// 1. Install // npm install --save-dev prettier prettier-config-wantedly // 2. Create .prettierrc.js module.exports = { ...require('prettier-config-wantedly'), tabWidth: 4 }; // 3. Run prettier // npx prettier --check src/ // or with frolint: npx frolint --fix src/
Debug
Known issues
gotchaThe package exports a plain object; if you use it in .prettierrc (JSON), you must use a string reference like "prettier-config-wantedly"
fix
In .prettierrc JSON: { "prettier": "prettier-config-wantedly" }
affects: >=3.0.0
gotchaIf you extend the config using spread, ensure the spread is at the top level of your config object.
fix
module.exports = { ...require('prettier-config-wantedly'), yourOverrides }
affects: >=3.0.0
deprecatedThis package is deprecated in favor of using frolint's built-in formatting; prefer frolint for consistent ESLint + Prettier integration.
fix
Use frolint instead: npm install frolint --save-dev and configure via frolint.config.js
affects: <4.0.0
Errors
Common errors & fixes
Error: Cannot find module 'prettier-config-wantedly'
Missing or incorrect install; or running in a monorepo without hoisting
fix
Ensure package is installed: npm install --save-dev prettier-config-wantedly
Invalid configuration file: "prettier-config-wantedly"
Using string reference in .prettierrc.js instead of .prettierrc JSON
fix
Use module.exports = 'prettier-config-wantedly'; in .prettierrc.js
Upgrade
Version history
3.2.2latest on npm
Audit
Dependencies
prettieroptionalpeer dependency required to use the config
Agent activity
4 hits · last 30 days
node
4
Resources
prettier-config-wantedly — npm install prettier-config-wantedly · libregistry