Privatix Prettier Config

raw JSON →
1.0.2 verified Sat Apr 25 auth: no javascript

A shareable Prettier configuration for projects following Privatix code style. Version 1.0.2. This package simply exports a Prettier configuration object that can be extended in package.json. It is opinionated and works best alongside other ESLint/Prettier setups. No release cadence known. Differentiators: tailored for Privatix projects, minimal setup via string reference.

error Error: Cannot find module 'privatix-prettier'
cause Package not installed or not in node_modules.
fix
Run 'yarn add --dev privatix-prettier' or 'npm install --save-dev privatix-prettier'.
gotcha Config is not compatible with Prettier versions before 2.0.
fix Update Prettier to version 2.0 or higher.
npm install privatix-prettier
yarn add privatix-prettier
pnpm add privatix-prettier

Install the config and reference it in package.json to enable Prettier formatting.

// In package.json
{
  "name": "my-project",
  "version": "1.0.0",
  "devDependencies": {
    "privatix-prettier": "^1.0.2"
  },
  "prettier": "privatix-prettier"
}