A shared Prettier configuration for CHE Proximity projects. Current stable version: 3.0.17. The package provides a consistent code formatting standard across CHE Proximity projects. It includes a CLI tool that generates a .prettierrc.json file and installs Prettier if not already present. Release cadence is irregular, tied to updates in Prettier or ESLint peer dependencies. Key differentiator: opinionated, CHE-specific formatting rules with automated setup.
npm install prettier-config-cheNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to install the config, set up Prettier, generate configuration, and format all project files.
Update prettier to 3.0.1 or later using npm install prettier@latest --save-dev
Run 'npx postinstall' only if prettier is not already in package.json devDependencies
Back up existing config before running the command
Install prettier manually via 'npm install prettier --save-dev --save-exact'
Run npm install prettier-config-che --save-dev
Run npx prettier-config-che to generate the config file
Update prettier to 3.0.1 or later