Skip to content

Latest commit

 

History

History

prettier-config

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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