Registry / devops / acast-prettier-config

acast-prettier-config

JSON →
library1.1.0jsnpmunverified

Shared Prettier configuration from Acast. Version 1.1.0 is stable. Release cadence is low, triggered by manual tagging. Differentiator: simple package.json reference, no need for separate config file. Suitable for Acast projects or as a base for custom Prettier configs.

npm install acast-prettier-config
INSTALL
IMPORT
SIG · ACAST-PRETTIER-CON
A
acast-prettier-config
devopsjavascriptv1.1.0
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.

default
✓ In package.json: "prettier": "acast-prettier-config"
✗ In .prettierrc.js: module.exports = require('acast-prettier-config')
Recommended usage is to set prettier field in package.json. Using require() is also valid but less common.

Installs the package and sets prettier config in package.json. Prettier will automatically extend the shared config.

{ "name": "my-project", "devDependencies": { "acast-prettier-config": "^1.0.0" }, "prettier": "acast-prettier-config" }
Debug
Known issues
gotchaThe shared config may override project-specific Prettier settings if not extended properly.
fix
Use a .prettierrc.js file with module.exports = { ...require('acast-prettier-config'), ...customOptions } to merge configs.
affects: *
Errors
Common errors & fixes
Cannot find module 'acast-prettier-config'
Missing npm install or incorrect package.json configuration.
fix
Run npm install --save-dev acast-prettier-config and ensure devDependencies includes the package.
Upgrade
Version history
1.1.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
56 hits · last 30 days
node
46
OpenAI (training)
1
Resources