@containership/prettier-babel
raw JSON → 1.0.0 verified Sat Apr 25 auth: no javascript abandoned
A shared Prettier configuration package from Containership, designed to enforce consistent code formatting across projects using Prettier with Babel. Version 1.0.0 is the initial and likely only release. This package is specific to Containership's internal style guide and is not actively maintained. It differs from other shared configs like `@auto/secret-service-prettier` in being organizational-specific and minimal in documentation.
Common errors
error Could not resolve module "@containership/prettier-babel" ↓
cause Package not installed or typo in package name.
fix
Run
yarn add --dev @containership/prettier-babel and ensure package.json has the correct scoped name. Warnings
gotcha Package is unmaintained; may not work with newer Prettier versions or Babel releases. ↓
fix Consider replacing with a maintained shared config like `@trivago/prettier-plugin-sort-imports` or maintain your own.
gotcha The package is scoped under @containership, but the README uses `prettier-babel` in the usage example; ensure you use the scoped name. ↓
fix Use `@containership/prettier-babel` not `prettier-babel`.
Install
npm install prettier-babel yarn add prettier-babel pnpm add prettier-babel Imports
- @containership/prettier-babel wrong
import or require the package directlycorrectAdd to package.json: "prettier": "@containership/prettier-babel"
Quickstart
// In package.json
{
"devDependencies": {
"@containership/prettier-babel": "^1.0.0",
"prettier": "^2.0.0"
},
"prettier": "@containership/prettier-babel"
}