Prettier RC

raw JSON →
0.0.0-5 verified Sat Apr 25 auth: no javascript abandoned

An abandoned package (version 0.0.0-5) that adds .prettierrc configuration file support for Prettier. The project never reached a stable 1.0 release and has been unmaintained since 2017. It required Prettier ^1.3.1 as a peer dependency. The functionality it provides has since been natively integrated into Prettier itself, making this package obsolete. It only supports reading a config file and does not extend Prettier's capabilities beyond that.

error Cannot find module 'prettierrc'
cause prettierrc is not imported in code; it is a CLI/config extension. There is no exported module.
fix
Remove require('prettierrc') from code; the package is used automatically if installed.
error prettierrc is not recognized as a valid option
cause This package does not register itself with Prettier's config resolution in newer versions.
fix
Use Prettier >=1.7.0 which natively supports .prettierrc files.
deprecated Package is abandoned and no longer maintained. Prettier has native config support since v1.7+.
fix Remove prettierrc and rely on Prettier's built-in .prettierrc reading.
breaking Never reached stable release; version 0.0.0-5 is a pre-release with potential breaking changes between versions.
fix Do not use in production; consider using Prettier directly with its native config.
gotcha Peer dependency on Prettier ^1.3.1, which is ancient. Modern Prettier versions may not work.
fix Use Prettier >=1.7.0 with its built-in config support.
npm install prettierrc
yarn add prettierrc
pnpm add prettierrc

Shows that prettierrc has no exports; it works via CLI config detection. The package is obsolete.

// There is no importable module; this package adds a CLI or config loader.
// Example usage from README:
// 1. Create .prettierrc file with config options.
// 2. Run prettier as usual; prettierrc will be automatically detected.
// NOTE: This package is abandoned; use Prettier's built-in config support instead.