Registry / testing / prettier-config-hive

prettier-config-hive

JSON →
library0.1.7jsnpmunverified

Prettier Config Hive (v0.1.7) is an opinionated Prettier configuration package from Hive Solutions. It provides a shared, consistent set of formatting rules for Prettier across JavaScript/TypeScript projects. The package is custom to Hive Solutions' internal style guide, offering a standard configuration that can be extended. It is released on npm with no known release cadence, and its key differentiator is that it is tailored specifically for Hive Solutions' codebase style.

npm install prettier-config-hive
INSTALL
IMPORT
SIG · PRETTIER-CONFIG-HI
P
prettier-config-hive
testingjavascriptv0.1.7
Install
—
Import
—
Disk
—
Pass rate
0/ 6
Env Coverage0 / 6
glibc
18–22
musl
18–22
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18–226 runs
build_error
glibc
node 18–226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

prettierConfigHive
✓ import prettierConfigHive from 'prettier-config-hive'
✗ const prettierConfigHive = require('prettier-config-hive')
This package is ESM-only. Import with ESM syntax.
default
✓ export { default } from 'prettier-config-hive'
✗ module.exports = require('prettier-config-hive')
Default export in ESM.

Shows how to import and extend the shared Prettier configuration in a project.

// .prettierrc.js export { default } from 'prettier-config-hive'; // Or if extending: import prettierConfig from 'prettier-config-hive'; export default { ...prettierConfig, semi: false // override example }
Debug
Known issues
gotchaThe package is ESM-only. If using CommonJS require() it will fail.
fix
Use import (ESM) or switch to a CJS-compatible config package.
affects: >=0.1.0
gotchaThe config is opinionated and may not match community standards. Override as needed.
fix
Extend the config and override specific options.
affects: >=0.1.0
deprecatedPackage has not seen updates since v0.1.7 (May 2021). May not be actively maintained.
fix
Consider forking or switching to a more maintained config like prettier-config-standard.
affects: >=0.1.7
Errors
Common errors & fixes
Cannot find module 'prettier-config-hive'
The package is not installed or not available in the project's node_modules.
fix
npm install prettier-config-hive --save-dev
Unexpected token 'export'
Using CommonJS require() instead of ESM import.
fix
Use import syntax in an ESM context or use dynamic import().
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './package.json' is not defined by "exports" in prettier-config-hive
Attempting to require a subpath that is not exported.
fix
Only import the main entry point: import prettierConfig from 'prettier-config-hive'
Upgrade
Version history
0.1.7latest on npm
Audit
Dependencies
prettierrequiredPeer dependency - Prettier Config Hive is a configuration plugin that requires Prettier to be installed to function.
Agent activity
8 hits · last 30 days
node
8
Resources
prettier-config-hive — npm install prettier-config-hive · libregistry