Registry / devops / prettier-config-planes

prettier-config-planes

JSON →
library1.0.1jsnpmunverified

Shared Prettier configuration package for Team Planes projects. Version 1.0.1 is the current stable release. This package provides a centralized, opinionated Prettier config to ensure consistent code formatting across all projects in the organization. It extends the base Prettier options and can be used by referencing the package name in a project's package.json. The package has no additional dependencies, making it lightweight and easy to adopt. It follows the standard Prettier shared config pattern, allowing for simple integration and overrides.

npm install prettier-config-planes
INSTALL
IMPORT
SIG · PRETTIER-CONFIG-PL
P
prettier-config-planes
devopsjavascriptv1.0.1
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
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 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

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

prettier-config-planes
// In package.json: "prettier": "prettier-config-planes"
// Common mistake: trying to import in JS file
This is a shared config, not a JavaScript module. It is used by referencing the package name in package.json.
prettier.config.js
module.exports = require('prettier-config-planes');
import prettierConfig from 'prettier-config-planes'; // ESM import not supported
If using a config file, you can require the package directly.

Shows how to install and use the shared Prettier config in a project.

// 1. Install the package npm install --save-dev prettier-config-planes // 2. Add to package.json: // "prettier": "prettier-config-planes" // Or create a prettier.config.js: module.exports = require('prettier-config-planes'); // Then run prettier: // npx prettier --check .
Debug
Known issues
gotchaCannot import in a JavaScript file via ES import; must use require or package.json reference.
fix
Use require('prettier-config-planes') in a CommonJS config file, or set the 'prettier' key in package.json.
affects: >=1.0.0
gotchaThe config may override project-specific settings; check for unintended changes.
fix
Review the config options and use overrides in a local prettier.config.js if needed.
affects: >=1.0.0
Errors
Common errors & fixes
Cannot find module 'prettier-config-planes'
Package not installed or not in node_modules.
fix
Run 'npm install --save-dev prettier-config-planes' to ensure it's installed.
Invalid configuration file 'prettier.config.js': require() of ES Module not supported
Using ES Module syntax to import the config.
fix
Change the config file to CommonJS (module.exports = require(...)) or use package.json prettier field.
Upgrade
Version history
1.0.1latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
prettier-config-planes — npm install prettier-config-planes · libregistry