{"id":20295,"library":"prettier-config-hive","title":"Prettier Config Hive","description":"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.","status":"active","version":"0.1.7","language":"javascript","source_language":"en","source_url":"https://github.com/hivesolutions/prettier_config_hive","tags":["javascript","config","prettier"],"install":[{"cmd":"npm install prettier-config-hive","lang":"bash","label":"npm"},{"cmd":"yarn add prettier-config-hive","lang":"bash","label":"yarn"},{"cmd":"pnpm add prettier-config-hive","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Peer dependency - Prettier Config Hive is a configuration plugin that requires Prettier to be installed to function.","package":"prettier","optional":false}],"imports":[{"note":"This package is ESM-only. Import with ESM syntax.","wrong":"const prettierConfigHive = require('prettier-config-hive')","symbol":"prettierConfigHive","correct":"import prettierConfigHive from 'prettier-config-hive'"},{"note":"Default export in ESM.","wrong":"module.exports = require('prettier-config-hive')","symbol":"default","correct":"export { default } from 'prettier-config-hive'"}],"quickstart":{"code":"// .prettierrc.js\nexport { default } from 'prettier-config-hive';\n// Or if extending:\nimport prettierConfig from 'prettier-config-hive';\nexport default {\n  ...prettierConfig,\n  semi: false // override example\n}","lang":"javascript","description":"Shows how to import and extend the shared Prettier configuration in a project."},"warnings":[{"fix":"Use import (ESM) or switch to a CJS-compatible config package.","message":"The package is ESM-only. If using CommonJS require() it will fail.","severity":"gotcha","affected_versions":">=0.1.0"},{"fix":"Extend the config and override specific options.","message":"The config is opinionated and may not match community standards. Override as needed.","severity":"gotcha","affected_versions":">=0.1.0"},{"fix":"Consider forking or switching to a more maintained config like prettier-config-standard.","message":"Package has not seen updates since v0.1.7 (May 2021). May not be actively maintained.","severity":"deprecated","affected_versions":">=0.1.7"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"npm install prettier-config-hive --save-dev","cause":"The package is not installed or not available in the project's node_modules.","error":"Cannot find module 'prettier-config-hive'"},{"fix":"Use import syntax in an ESM context or use dynamic import().","cause":"Using CommonJS require() instead of ESM import.","error":"Unexpected token 'export'"},{"fix":"Only import the main entry point: import prettierConfig from 'prettier-config-hive'","cause":"Attempting to require a subpath that is not exported.","error":"Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './package.json' is not defined by \"exports\" in prettier-config-hive"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}