Registry / prettierrc

prettierrc

JSON →
library0.0.0-5jsnpmunverified

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.

npm install prettierrc
INSTALL
IMPORT
SIG · PRETTIERRC
P
prettierrc
javascriptv0.0.0-5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

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.
Debug
Known issues
deprecatedPackage 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.
affects: all
breakingNever 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.
affects: >=0.0.0-0
gotchaPeer 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.
affects: all
Errors
Common errors & fixes
Cannot find module 'prettierrc'
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.
prettierrc is not recognized as a valid option
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.
Upgrade
Version history
0.0.0-5latest on npm
Audit
Dependencies
prettierrequiredpeer dependency required at runtime
Agent activity
4 hits · last 30 days
node
4
Resources
prettierrc — npm install prettierrc · libregistry