A shareable Prettier configuration created by hudochenkov. As of version 0.4.0, it is an ESM-only package requiring Prettier 3 and Node >=16. Key features include a specific set of opinionated defaults with trailingComma set to 'all'. It differentiates from other shared configs by being minimal and focused on personal preferences. The package has migrated to ESM and removed support for Prettier 1.x and 2.x. It is intended for developers who want to adopt the author's Prettier style without custom configuration.
npm install prettier-config-hudochenkovVerified import paths — ran on the pinned version, not inferred.
Installs Prettier and the shared config, sets it in package.json, and runs Prettier to check formatting.
Use import syntax or switch to version 0.3.0 if you need CommonJS.
Upgrade Prettier to v3 or use version 0.3.0 for Prettier 2.
Use `bracketSameLine` instead.
Upgrade Node.js to v16 or later.
Review code for trailing commas in function parameters and other places where it might break older syntax.
Run `npm install --save-dev prettier-config-hudochenkov` and ensure your configuration file correctly references it.
Use `import prettierConfig from 'prettier-config-hudochenkov'` or switch to dynamic import.
Update to prettier-config-hudochenkov@0.3.0 or later, and use `bracketSameLine` instead.