Registry / testing / raket-prettier-config

raket-prettier-config

JSON →
library1.1.8jsnpmunverified

Raket Prettier Config is a shareable configuration package for Prettier, the opinionated code formatter. It provides a preset set of formatting rules intended for use across Raket projects. Version 1.1.8 is the latest stable release. The package is simple to install as a dev dependency and reference in package.json. It offers a standardized formatting baseline, reducing configuration overhead. Unlike other Prettier configs that may extend or customize extensively, Raket Prettier Config is a fixed preset. It is released on npm with low cadence, primarily updated for compatibility with new Prettier versions.

npm install raket-prettier-config
INSTALL
IMPORT
SIG · RAKET-PRETTIER-CON
R
raket-prettier-config
testingjavascriptv1.1.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

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

default config
✓ In package.json: "prettier": "raket-prettier-config"
✗ require('raket-prettier-config')
This is a shareable config, not a module. It is referenced as a string in Prettier configuration.

Install the config, set it in package.json, and run Prettier to format the project.

// 1. Install as dev dependency npm install --save-dev raket-prettier-config // 2. Add to package.json { "prettier": "raket-prettier-config" } // 3. Format all files npx prettier --write .
Debug
Known issues
gotchaThe config is a fixed preset; it cannot be extended or overridden with other configs.
fix
If you need to customize, create your own prettier.config.js that imports and spreads the config.
affects: >=1.0.0
gotchaMake sure you have Prettier installed separately as a dev dependency.
fix
Install Prettier: npm install --save-dev prettier
affects: >=1.0.0
Errors
Common errors & fixes
Error: Invalid configuration file: "raket-prettier-config" is not a valid config file path.
Referencing the config without having the package installed.
fix
Run: npm install --save-dev raket-prettier-config
[error] Invalid configuration for "prettier" in package.json: Expected a valid config file path.
Incorrect JSON syntax or extra characters in package.json.
fix
Ensure package.json has valid JSON: "prettier": "raket-prettier-config"
Upgrade
Version history
1.1.8latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources
raket-prettier-config — npm install raket-prettier-config · libregistry