Registry / devops / goe-common-prettier

goe-common-prettier

JSON →
library1.0.0jsnpmunverified

Shared Prettier configuration for all go-e Labs front-end projects. Version 1.0.0, published as an npm package. Designed to enforce consistent code formatting across multiple projects within the organization, reducing bikeshedding on style. Intended for internal use only; no customization or extensibility is provided.

npm install goe-common-prettier
INSTALL
IMPORT
SIG · GOE-COMMON-PRETTIE
G
goe-common-prettier
devopsjavascriptv1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

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

goe-common-prettier as config
Add "prettier": "goe-common-prettier" to package.json
Using require('goe-common-prettier') in a .prettierrc.js file
This package is a shareable config string, not a module to import.

Installing the shared Prettier config and setting it in package.json to apply consistent formatting.

// 1. Install npm install --save-dev goe-common-prettier // 2. In package.json, add: { "prettier": "goe-common-prettier" } // 3. Remove any existing .prettierrc.js, .prettierrc, or prettier config in package.json // 4. Format all files: // npx prettier --write .
Debug
Known issues
gotchaThe package name is 'goe-common-prettier' but the README misspells 'devDependencies' as 'devDependecies'.
fix
Ignore the typo; install as devDependency normally.
affects: 1.0.0
Errors
Common errors & fixes
Error: Could not find config file for prettier.
Missing or incorrect prettier config path.
fix
Ensure 'prettier' field in package.json is exactly 'goe-common-prettier'.
[prettier] Ignoring unknown option / property
Conflicting prettier config exists (e.g., .prettierrc.js).
fix
Remove any other prettier configuration files.
Upgrade
Version history
1.0.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
goe-common-prettier — npm install goe-common-prettier · libregistry