Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 709 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 709 Bytes

Viam's Prettier Config

This module contains Viam's shared Prettier configuration for Prettier v3.

Usage

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
};

Svelte config

See @viamrobotics/prettier-config-svelte