{"id":28129,"library":"raket-prettier-config","title":"Raket Prettier Config","description":"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.","status":"active","version":"1.1.8","language":"javascript","source_language":"en","source_url":null,"tags":["javascript"],"install":[{"cmd":"npm install raket-prettier-config","lang":"bash","label":"npm"},{"cmd":"yarn add raket-prettier-config","lang":"bash","label":"yarn"},{"cmd":"pnpm add raket-prettier-config","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"This is a shareable config, not a module. It is referenced as a string in Prettier configuration.","wrong":"require('raket-prettier-config')","symbol":"default config","correct":"In package.json: \"prettier\": \"raket-prettier-config\""}],"quickstart":{"code":"// 1. Install as dev dependency\nnpm install --save-dev raket-prettier-config\n\n// 2. Add to package.json\n{\n  \"prettier\": \"raket-prettier-config\"\n}\n\n// 3. Format all files\nnpx prettier --write .","lang":"javascript","description":"Install the config, set it in package.json, and run Prettier to format the project."},"warnings":[{"fix":"If you need to customize, create your own prettier.config.js that imports and spreads the config.","message":"The config is a fixed preset; it cannot be extended or overridden with other configs.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Install Prettier: npm install --save-dev prettier","message":"Make sure you have Prettier installed separately as a dev dependency.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Run: npm install --save-dev raket-prettier-config","cause":"Referencing the config without having the package installed.","error":"Error: Invalid configuration file: \"raket-prettier-config\" is not a valid config file path."},{"fix":"Ensure package.json has valid JSON: \"prettier\": \"raket-prettier-config\"","cause":"Incorrect JSON syntax or extra characters in package.json.","error":"[error] Invalid configuration for \"prettier\" in package.json: Expected a valid config file path."}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}