prettier-conf

raw JSON →
1.0.5 verified Sat Apr 25 auth: no javascript abandoned

prettier-conf is a shared Prettier configuration package. Version 1.0.5 provides a single, opinionated Prettier config for consistent code formatting across JavaScript/TypeScript projects. The package is minimal, containing only a .prettierrc.json and a module export. It has no known release cadence and is not actively maintained (last update likely 2020). Differentiators: simple drop-in for consuming Prettier config, but lacks documentation and may be abandoned.

error Cannot find module 'prettier-conf'
cause Package not installed
fix
npm install prettier-conf --save-dev
error Invalid configuration: extends "prettier-conf" is not a valid option
cause Trying to use extends in wrong location
fix
Use 'prettier' key in package.json or reference as string in .prettierrc
error Error: Could not find Prettier config for file
cause Prettier not installed or config not properly extended
fix
Ensure prettier is installed and the extends path is correct.
deprecated No updates since 2020; likely abandoned. Consider using alternative shared configs.
fix Use @trivago/prettier-plugin-sort-imports or eslint-config-prettier.
gotcha No documentation on what options are set. Config may conflict with other plugins.
fix Inspect node_modules/prettier-conf/index.js to see options.
gotcha Peer dependency on prettier not declared in package.json but required.
fix Install prettier as devDependency explicitly.
npm install prettier-conf
yarn add prettier-conf
pnpm add prettier-conf

Shows how to install and use prettier-conf as a shared Prettier config in a project.

// Install peer dependency
npm install prettier prettier-conf --save-dev

// In package.json:
{
  "prettier": "prettier-conf"
}

// Or in .prettierrc.json:
{
  "extends": "prettier-conf"
}

// Then run:
npx prettier --write .