Prettier
Create prettier.config.mjs in your project root:
import config from '@presencelearning/frontend-config/prettier';export default config;Or extend it:
import config from '@presencelearning/frontend-config/prettier';
export default { ...config, printWidth: 120,};Features
Section titled “Features”- Single quotes, 100-character line width
- Angular template parser for
.component.htmlfiles trailingComma: 'es5',arrowParens: 'avoid',proseWrap: 'always'- Consistent formatting across projects
The package also ships a .prettierrc with the same settings for tools that only read the JSON form. It is not in the exports map, so reference it by file path if you need it.