A shareable Prettier configuration for the atom-community ecosystem. Current stable version is 4.0.0, released as ESM TypeScript and requiring Prettier v3.0+. Supports formatting for TypeScript, JavaScript, JSON, YAML, Markdown, and MDX. Active development with periodic dependency updates. Differentiators: provides a complete opinionated preset for atom-community projects, including plugin support for JSDoc.
npm install prettier-config-atomicVerified import paths — ran on the pinned version, not inferred.
Install and configure prettier-config-atomic with scripts and ignore file.
Use import config from 'prettier-config-atomic' or set type: 'module' in package.json.
Upgrade prettier to v3.0.0 or later.
Add public-hoist-pattern[]=* to .npmrc or install prettier explicitly.
Upgrade to v4.0.0 and migrate imports.
The plugin is bundled, but if using pnpm without hoisting, install it explicitly.
npm install --save-dev prettier-config-atomic
Use import or change to CJS-compatible version (v3.x) or use dynamic import.
module.exports = { ...require('prettier-config-atomic') };Add "prettier": "prettier-config-atomic" to package.json.