This module contains Viam's shared Prettier configuration for Prettier v3.
Use the base config for vanilla JavaScript / TypeScript projects.
pnpm add --save-dev prettier @viamrobotics/prettier-config
// prettier.config.js
export default '@viamrobotics/prettier-config';
You can also extend the configuration:
// prettier.config.js
import baseConfig from '@viamrobotics/prettier-config';
export default {
...baseConfig,
// other options here
};